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 24213

Summary: Parse Ant scripts only on demand
Product: projects Reporter: Jesse Glick <jglick>
Component: AntAssignee: David Konecny <dkonecny>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Attachments: Suggested patch
Exception stack trace

Description Jesse Glick 2002-05-29 19:24:09 UTC
For example, when their short description is
required. Since the display name is no longer set
by a parse, it is pointless to parse a build
script when expanding its folder.

The patch should also correct a
MissingResourceException that was thrown sometimes
after uninstalling the module, which I will attach
an example of.

Note the API change.
Comment 1 Jesse Glick 2002-05-29 19:25:24 UTC
Created attachment 6001 [details]
Suggested patch
Comment 2 Jesse Glick 2002-05-29 19:27:00 UTC
Created attachment 6002 [details]
Exception stack trace
Comment 3 David Konecny 2002-06-27 10:40:29 UTC
Thanks for the patch! I reviewed it, tested it and everything looks 
good. So I integreted it:

Checking in manifest.mf;
new revision: 1.44; previous revision: 1.43
Checking in src/org/apache/tools/ant/module/api/AntProjectCookie.java;
new revision: 1.2; previous revision: 1.1
Checking in src/org/apache/tools/ant/module/nodes/AntProjectNode.java;
new revision: 1.25; previous revision: 1.24
Checking in 
src/org/apache/tools/ant/module/xml/AntProjectSupport.java;
new revision: 1.18; previous revision: 1.17

The apichanges document will follow.