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.
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.
This problem is being covered in the issue 104508. *** This issue has been marked as a duplicate of 104508 ***
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.)
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.
jglick, Please let me know if you know how to override the 'depend' behaviour. I cannot find a decent way to do it. Kees.