Bug 194006

Summary: 2 or more user libraries containing the same jar path -> build path error
Product: [Eclipse Project] JDT Reporter: Martin Ahrer <martin.ahrer>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.3   
Target Milestone: 3.5 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Ahrer CLA 2007-06-22 12:02:05 EDT
Build ID: I20070608-1718

Steps To Reproduce:
1. define a user library (e.g HIBERNATE including D:Projects/.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar)
2. define a user library (e.g. JSF including D:Projects/.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar)
3. add both user libraries to a project

this will get you a build path error

Build path contains duplicate entry: 'D:Projects/.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar' for project 'test'




More information:
This ist a very typical situtation when working with the JSF and the JPA facet: For example both JSF and JPA (Hibernate) work with commons-collections. So it's fairly impossible to create a web app using WTP facets JSF and JPA
Comment 1 Philipe Mulet CLA 2007-06-25 15:11:47 EDT
Would it be better if this situation could be lowered to a warning (or ignore) ? 
Comment 2 Jerome Lanneluc CLA 2008-02-26 09:53:29 EST

*** This bug has been marked as a duplicate of bug 175226 ***
Comment 3 Olivier Thomann CLA 2008-10-27 16:20:18 EDT
Verified for 3.5M3 using I20081026-2000