Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 230351 Details for
Bug 405873
"Generate Deployment Descriptor Stub" generates incorrect web.xml for web 3.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Update the EJB model provider
bug405873ejb.patch (text/plain), 1.10 KB, created by
Carl Anderson
on 2013-05-01 11:55:12 EDT
(
hide
)
Description:
Update the EJB model provider
Filename:
MIME Type:
Creator:
Carl Anderson
Created:
2013-05-01 11:55:12 EDT
Size:
1.10 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.jee.ejb >diff --git ejb/org/eclipse/jst/jee/model/internal/Ejb3ModelProvider.java ejb/org/eclipse/jst/jee/model/internal/Ejb3ModelProvider.java >index fe6f497..dac4e8f 100644 >--- ejb/org/eclipse/jst/jee/model/internal/Ejb3ModelProvider.java >+++ ejb/org/eclipse/jst/jee/model/internal/Ejb3ModelProvider.java >@@ -66,10 +66,15 @@ > dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_0); > jar.setVersion(J2EEVersionConstants.VERSION_3_0_TEXT); > } >- else { >+ else if(version != null && version.equals(J2EEVersionConstants.VERSION_3_1_TEXT)) { > dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_1); > jar.setVersion(J2EEVersionConstants.VERSION_3_1_TEXT); > } >+ else { >+ dd.getXMLNSPrefixMap().put("", J2EEConstants.JAVAEE7_NS_URL); //$NON-NLS-1$ >+ dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE7_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_2); >+ jar.setVersion(J2EEVersionConstants.VERSION_3_2_TEXT); >+ } > dd.setEjbJar(jar); > res.getContents().add((EObject) dd); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 405873
:
230350
| 230351 |
230362