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 117579 - Regression depend task takes 20 seconds and more
Summary: Regression depend task takes 20 seconds and more
Status: CLOSED DUPLICATE of bug 104508
Alias: None
Product: ide
Classification: Unclassified
Component: Performance (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@performance
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-03 09:46 UTC by keeskuip
Modified: 2011-05-25 11:38 UTC (History)
0 users

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 keeskuip 2007-10-03 09:46:22 UTC
Netbeans 6.0 has introduced the <j2seproject3:depend/> task in nbproject/build-impl.xml

In a large project (2000+ javafiles) it takes 20 seconds to perform this task.
Each time I start a debug session or a run session I loose this time.

Now my only option is to edit the nbproject/build-impl.xml and delete the lines which call
this task. But netbeans rewrites this file often and my edits are lost.

I have understand that this 'depend' task cannot be removed anymore (apperently 
someone needs it) but is it possible to overrule this task in the build.xml? (Overrule
means disable calling the task)

Kees.
Comment 1 Petr Nejedly 2007-10-03 10:50:07 UTC
This problem is being covered in the issue 104508.


*** This issue has been marked as a duplicate of 104508 ***
Comment 2 Jesse Glick 2007-10-03 17:34:39 UTC
Never edit build-impl.xml; see the comments of the top of the file saying not to. You can always override any target you
like in build.xml. (The IDE should not discard changes you make but it will be unable to make unrelated updates which it
needs to do on many occasions.)
Comment 3 keeskuip 2007-10-03 18:24:39 UTC
I know I shouldn't edit build-imp.xml. But I don't know how to do what you say.
I'm no ant-expert.

I don't want to override '-do-compile' because there's more code in than 
the call to <j2seproject3:depend>. I only want to override the call to
<j2seproject3:depend>. 
 
My question here was:
1. How to overrule <j2seproject3:depend> without overriding the target '-do-compile'?
2. And if that is not possible. Can you make the call to <j2seproject3:depend> a target so that I can override it?

Kees.
Comment 4 keeskuip 2007-10-16 17:46:30 UTC
jglick,

Please let me know if you know how to override the 'depend' behaviour.
I cannot find a decent way to do it. 

Kees.