Bug 194006 - 2 or more user libraries containing the same jar path -> build path error
Summary: 2 or more user libraries containing the same jar path -> build path error
Status: VERIFIED DUPLICATE of bug 175226
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 12:02 EDT by Martin Ahrer CLA
Modified: 2008-10-27 16:20 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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