Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364981 - Support setting the Java 7 facet when importing a JavaEE archive targeted to a runtime that supports Java 7
Summary: Support setting the Java 7 facet when importing a JavaEE archive targeted to ...
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.3.1 P   Edit
Assignee: Kim Tsao CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 12:40 EST by Kim Tsao CLA
Modified: 2011-12-01 15:59 EST (History)
2 users (show)

See Also:
cbridgha: review+


Attachments
patch from bug 361555 (1.30 KB, patch)
2011-11-28 12:52 EST, Kim Tsao CLA
ccc: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Tsao CLA 2011-11-28 12:40:13 EST
Build Identifier: 

This is a copy of bug 361555:

In our adopter product, users will be able to import JavaEE archives targeting
runtimes that support Java 7.  Currently, the Java facet is set to 1.6 when
importing.  It looks like the J2EEComponentImportDataModelProvider class does
not check for 1.7 compatibility.    



Reproducible: Always

Steps to Reproduce:
1.  Import an EAR or War file
2.  Set the target runtime to something that supports Java 7
3.  After import, the Java Facet is set to 1.6
Comment 1 Kim Tsao CLA 2011-11-28 12:42:35 EST
The patch that's attached to bug 361555 should be applied to 3.3.1
Comment 2 Kim Tsao CLA 2011-11-28 12:52:40 EST
Created attachment 207613 [details]
patch from bug 361555
Comment 3 Chuck Bridgham CLA 2011-11-28 20:41:20 EST
approved
Comment 4 Carl Anderson CLA 2011-12-01 15:59:35 EST
Committed to R3_3_1_patches