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 154331 - jar is always built when the project is in dependency
Summary: jar is always built when the project is in dependency
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: Other Linux
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 12:06 UTC by tknappek
Modified: 2016-07-07 07:17 UTC (History)
2 users (show)

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 tknappek 2008-12-02 12:06:19 UTC
I have a J2SE project, I set the "Build JAR after compiling" to false, I run build and JAR is not built - which is ok.
I have second J2SE project, I set the "Build JAR after compiling" to false and I add dependency to the first project
(for project dependency there is a possibility to add dependancy to project jars only). I run the build of the second
project and ... the jar of the first project is created.

I expect the jar is not built if I set the "Build JAR after compiling" to false for both of the projects.
Comment 1 Tomas Zezula 2008-12-02 12:23:44 UTC
The jar is on the classpath of the second project.
Comment 2 David Strupl 2008-12-16 12:08:43 UTC
But is it possible to have the built classes to be on the classpath of the second project instead?
Comment 3 Martin Balin 2016-07-07 07:17:03 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss