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 - Parse Ant scripts only on demand
Summary: Parse Ant scripts only on demand
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2002-05-29 19:24 UTC by Jesse Glick
Modified: 2002-06-27 10:40 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Suggested patch (12.20 KB, patch)
2002-05-29 19:25 UTC, Jesse Glick
Details | Diff
Exception stack trace (3.08 KB, text/plain)
2002-05-29 19:27 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
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.