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 50584 - Display <import>ed targets in a subnode (optionally?)
Summary: Display <import>ed targets in a subnode (optionally?)
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 81411 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-19 06:31 UTC by kitfox
Modified: 2008-12-10 00:44 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kitfox 2004-10-19 06:31:20 UTC
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?
Comment 1 Milan Kubec 2004-10-19 08:36:02 UTC
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.
Comment 2 Jesse Glick 2004-10-19 16:54:09 UTC
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.
Comment 3 kitfox 2004-10-19 17:27:13 UTC
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.
Comment 4 Jesse Glick 2004-10-19 17:57:32 UTC
Will consider, but no particular plans.
Comment 5 Jesse Glick 2006-11-06 17:06:53 UTC
*** Issue 81411 has been marked as a duplicate of this issue. ***
Comment 6 Jesse Glick 2008-12-10 00:44:35 UTC
Later.