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 118079

Summary: [60cat] Track Java Dependencies should be off by default
Product: java Reporter: tboerkel <tboerkel>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker CC: mikk
Priority: P2 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 104508, 119777    
Bug Blocks: 36033    

Description tboerkel 2007-10-08 09:54:10 UTC
[ BUILD # : 200710050000 ]
[ JDK VERSION : 1.6.0_03 ]

The new checkbox "Track Java Dependencies" from issue #104508 should
be off by default. Otherwise, NB 6.0 will not gain sympathy from new
users with big projects.
Comment 1 Jesse Glick 2007-10-10 02:23:19 UTC
Many people requested Java dependency tracking over the course of many years, so I think it is best on by default. Those
who decide they would prefer to live without it can easily do so.
Comment 2 Jesse Glick 2007-10-17 19:12:34 UTC
*** Issue 119089 has been marked as a duplicate of this issue. ***
Comment 3 Mikhail Kondratyev 2007-10-18 08:19:19 UTC
The fix caused serious regression in performance. See Issue 119089  for exact numbers.

While issue #104508 fix may be quite important the current implementation leads to regression in performance for all
java project users. Performance is one of the priorities for Netbeans so we need this to be solved. With the checkbox on
we have Netbeans Run command _6_ times slower compared to Eclipse. 

Comment 4 Tomas Zezula 2007-10-18 09:10:26 UTC
It's a question of priorities, either we will do the dependency checking or the build will be faster. The question is
what  is more important, we cannot have both using Ant's depend.
Comment 5 Jesse Glick 2007-10-18 15:02:45 UTC
"While issue #104508 fix may be quite important" - I think you are referring to issue #36033, not issue #104508.
Comment 6 Jesse Glick 2007-10-18 22:00:29 UTC
Checking in src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SEProjectProperties.java;
/shared/data/ccvs/repository/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SEProjectProperties.java,v
 <--  J2SEProjectProperties.java
new revision: 1.70; previous revision: 1.69
done
Checking in test/unit/src/org/netbeans/modules/java/j2seproject/BuildImplTest.java;
/shared/data/ccvs/repository/java/j2seproject/test/unit/src/org/netbeans/modules/java/j2seproject/BuildImplTest.java,v 
<--  BuildImplTest.java
new revision: 1.19; previous revision: 1.18
done
Checking in test/unit/src/org/netbeans/modules/java/j2seproject/J2SEActionProviderTest.java;
/shared/data/ccvs/repository/java/j2seproject/test/unit/src/org/netbeans/modules/java/j2seproject/J2SEActionProviderTest.java,v
 <--  J2SEActionProviderTest.java
new revision: 1.22; previous revision: 1.21
done
Checking in src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java;
/shared/data/ccvs/repository/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java,v  <-- 
J2SEActionProvider.java
new revision: 1.64; previous revision: 1.63
done
Checking in src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl;
/shared/data/ccvs/repository/java/j2seproject/src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl,v  <--
 build-impl.xsl
new revision: 1.107; previous revision: 1.106
done