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.
I've recently changed to NB 4.0, and am finding using Ant much more difficult than NB 3.6. The biggest problem is all the many tasks imported into the ant file with the <import>. These are required for NetBeans to work, but make it very difficult for me to run my custom Ant tasks. Would it be possible to have the imported tasks to show up in a 'subdirectory' of the expanded ant file so that it is still easy for me to find and run my custom ant targets?
This is more enhancement than defect IMO. Do you mean that after you add your own targets into main build.xml (generated one) than there is lot of other nb targets and it's dificult to find your own? Imported targets are in italics font, but it might not be enough to distinguish them.
The 4.0 UI intentionally lists all available targets together, sorted alphabetically; roman vs. italic face on the target name indicates whether it is imported on it. Also if you have a description for your added targets, they will appear in the main part of the "Run Target" context submenu, rather than the "Other Targets" subsubmenu. Perhaps imports could be displayed in a subnode, as an enhancement in a future release (4.0 is frozen), though this is not always desirable so it might need to be optional somehow. Currently don't plan to make such a change.
Even a font change at this point would be a big help. A small arial italics font doesn't look much different from a small non italic font. Putting the imported packages in subnodes, or at least grouping them together, would be a big help.
Will consider, but no particular plans.
*** Issue 81411 has been marked as a duplicate of this issue. ***
Later.