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 58194 - Build project parses document obtained from editor
Summary: Build project parses document obtained from editor
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-04-21 20:06 UTC by _ rkubacki
Modified: 2005-11-04 19:01 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 _ rkubacki 2005-04-21 20:06:52 UTC
even if this is not neceseary. Start the IDE with only some Java file opened in
editor and start the build. 

The AntProjectSupport opens the project XML document using XML editor. this is
probably not neceseary and using the input stream should be faster.
Comment 1 Jesse Glick 2005-04-21 21:10:51 UTC
Jo, it could parse from disk if the file is unmodified. I presume this is not
really P3, or is the performance hit actually significant?
Comment 2 _ rkubacki 2005-04-22 07:39:02 UTC
agree with P4, it is well visible first time when it loads the editor kit. 
Comment 3 Jesse Glick 2005-11-04 19:01:29 UTC
Fixed w/ issue #67482:

Checking in ant/src/org/apache/tools/ant/module/xml/AntProjectSupport.java;
/cvs/ant/src/org/apache/tools/ant/module/xml/AntProjectSupport.java,v  <-- 
AntProjectSupport.java
new revision: 1.32; previous revision: 1.31
done