This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241265

Summary: Multiple projects force multiple import of the same JAR library.
Product: java Reporter: wojtekkk87
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description wojtekkk87 2014-02-01 14:08:59 UTC
I used to create multiple projects to separate some tires while I'm developing some Java applications. So for example I have two projects:
- MongoDataStore - which imports mongo-java-driver-2.11.3.jar to work properly.
- UI

Right now to have properly working app I have to import mongo-java-driver-2.11.3.jar into UI project too... And when it's geting more complicated - I mean more projects referencing each other the Main project has to import all jar which are imported by all referenced projects... Which makes no sense in my opinion...
Comment 1 Jiri Prox 2014-02-03 07:09:08 UTC
What type of project do you use?
Comment 2 wojtekkk87 2014-02-03 09:07:12 UTC
I use diffrent types of projects:
Java Class Library,
EJB Module,
Web Application
Comment 3 Tomas Zezula 2014-02-03 09:56:11 UTC
The Ant project does not support transitive dependencies, see issue #47507.

*** This bug has been marked as a duplicate of bug 47507 ***