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.
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.
*** Issue 45293 has been marked as a duplicate of this issue. ***
It seems to happen very often when editing both scripts - the one that imports and imported script too.
Aha, I think AntProjectChildren.compare is to blame - has to return something nonzero when passed an overridden and an overriding target.
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
Verified.