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 268138

Summary: Optionally include all libraries from referenced project
Product: projects Reporter: tkellerer <tkellerer>
Component: Ant ProjectAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description tkellerer 2016-09-21 13:02:11 UTC
It's possible to add one project to the classpath of another project. With that, the second project can use/references classed that are part of the first project. 

Very often the referencing project also needs to use the libraries that the first project uses. Currently all libraries need to either be added to the second project manually or through a IDE-wide library definition. 

Manually adding all libraries is a really cumbersome and cluttering the IDE with project specific libraries is also not helpful. Especially if the NetBeans project definition is shared e.g. through Subversion or Git. 

When adding a project as a "library" it should be possible to have an option "Inherit references libraries".