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

Summary: "all" target should build engine (with native libs) only once
Product: installer Reporter: dlipin <dlipin>
Component: NBIAssignee: Kirill Sorokin <ksorokin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:

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.