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 208511 Details for
Bug 366986
Support setting the Java 7 facet when importing a JavaEE archive targeted to a runtime that supports Java 7
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]
Patch for R3_3_maintenance and HEAD
bug366986.patch (text/plain), 1.30 KB, created by
Roberto Sanchez Herrera
on 2011-12-16 16:45:54 EST
(
hide
)
Description:
Patch for R3_3_maintenance and HEAD
Filename:
MIME Type:
Creator:
Roberto Sanchez Herrera
Created:
2011-12-16 16:45:54 EST
Size:
1.30 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.j2ee >Index: earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEComponentImportDataModelProvider.java >=================================================================== >RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEComponentImportDataModelProvider.java,v >retrieving revision 1.21 >diff -u -r1.21 J2EEComponentImportDataModelProvider.java >--- earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEComponentImportDataModelProvider.java 17 Jun 2010 13:51:13 -0000 1.21 >+++ earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEComponentImportDataModelProvider.java 16 Dec 2011 21:35:21 -0000 >@@ -54,7 +54,9 @@ > IProjectFacetVersion javaFacetVersion = null; > IRuntime runtime = (IRuntime)getProperty(IFacetProjectCreationDataModelProperties.FACET_RUNTIME); > if(runtime != null){ >- if(runtime.supports(JavaFacet.VERSION_1_6)){ >+ if(runtime.supports(JavaFacet.VERSION_1_7)){ >+ javaFacetVersion = JavaFacet.VERSION_1_7; >+ } else if(runtime.supports(JavaFacet.VERSION_1_6)){ > javaFacetVersion = JavaFacet.VERSION_1_6; > } else if(runtime.supports(JavaFacet.VERSION_1_5)){ > javaFacetVersion = JavaFacet.VERSION_1_5;
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 366986
: 208511