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 44491 - Sometimes overriding targets do not appear in Ant subtree
Summary: Sometimes overriding targets do not appear in Ant subtree
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: RANDOM
: 45293 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-07 23:38 UTC by Jesse Glick
Modified: 2006-03-24 09:49 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 Jesse Glick 2004-06-07 23:38:50 UTC
Sometimes if you override a target from an
imported script, it disappears completely from the
list of targets under the script node. But
sometimes it works. Needs investigation.
Comment 1 Jesse Glick 2004-06-21 16:59:29 UTC
*** Issue 45293 has been marked as a duplicate of this issue. ***
Comment 2 Milan Kubec 2004-06-22 09:48:54 UTC
It seems to happen very often when editing both scripts - the one that
imports and imported script too.
Comment 3 Jesse Glick 2004-08-02 21:27:38 UTC
Aha, I think AntProjectChildren.compare is to blame - has to return
something nonzero when passed an overridden and an overriding target.
Comment 4 Jesse Glick 2004-08-04 01:28:26 UTC
committed   * Up-To-Date  1.8        
ant/src/org/apache/tools/ant/module/nodes/AntProjectChildren.java
added       * Up-To-Date  1.1        
ant/test/unit/src/org/apache/tools/ant/module/nodes/AntProjectChildrenTest.java
Comment 5 Jaromir Uhrik 2005-07-14 16:18:27 UTC
Verified.