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 87483 - "all" target should build engine (with native libs) only once
Summary: "all" target should build engine (with native libs) only once
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Kirill Sorokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 08:24 UTC by dlipin
Modified: 2007-03-30 11:39 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dlipin 2006-10-19 08:24:12 UTC
During the building of the whole NBI (engine + components) by running "all" 
target of the root build.xml the engine should be build only once. This would 
significantly reduce the build time.

The current build procedure should be investigated.
The other point is to avoid using overriding targets ("Trying to override old 
definition of task blah-blah-blah") in the build.
Comment 1 Kirill Sorokin 2006-10-19 08:26:55 UTC
This can be easily done by unselecting "Build projects on Classpath" checkbox in
components projects. This has some drawbacks, but generally is a good thing to do.
Comment 2 Kirill Sorokin 2006-10-20 09:33:06 UTC
Fixed. Unchecked the "Build projects on Classpath" checkbox for all components.
Also made some changes to the top-level build.xml, to fix build failures after
this change.
Comment 3 Kirill Sorokin 2006-10-20 09:57:29 UTC
Refixed. Checked back the "Build projects on Classpath" checkbox for all
components. Made the top-level build.xml file pass an additional property to
components' build scripts, so that they do not rebuild the engine while running
"all" target.