Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365971 - EAR validator mistakenly flags web version incompatibility
Summary: EAR validator mistakenly flags web version incompatibility
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.2.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.4   Edit
Assignee: Diego Sahagun CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 17:58 EST by Diego Sahagun CLA
Modified: 2011-12-13 15:27 EST (History)
1 user (show)

See Also:
cbridgha: review+


Attachments
Remove log of warning when a Jee 5 project is referenced by a pre Jee 5 EAR (1.33 KB, patch)
2011-12-07 18:02 EST, Diego Sahagun CLA
shr31223: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Sahagun CLA 2011-12-07 17:58:34 EST
Build Identifier: 

Create a 1.2 EAR
Add a 3.0 web project to it

The result is the following validation warning:
Facet version for Enterprise Application project 1.2Ear must be 5.0 to contain Java EE 5.0 project 3.0Web.    1.2Ear        P/1.2Ear    Enterprise Application Validator Message

This kind of version mismatch is acceptable and should not be flagged as invalid.

Reproducible: Always

Steps to Reproduce:
1. Create a 1.2 EAR
2. Add a 3.0 web project to it
Comment 1 Diego Sahagun CLA 2011-12-07 18:02:22 EST
Created attachment 208078 [details]
Remove log of warning when a Jee 5 project is referenced by a pre Jee 5 EAR
Comment 2 Chuck Bridgham CLA 2011-12-08 10:13:56 EST
approved - we should not be making these restrictive decisions.
The Spec allows version mismatch between Ear's and contained modules.
Comment 3 Roberto Sanchez Herrera CLA 2011-12-13 15:27:25 EST
Code committed to HEAD for WTP 3.4