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 - Multiple projects force multiple import of the same JAR library.
Summary: Multiple projects force multiple import of the same JAR library.
Status: RESOLVED DUPLICATE of bug 47507
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-01 14:08 UTC by wojtekkk87
Modified: 2014-02-03 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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