You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/09/25 00:31:47 UTC

DO NOT REPLY [Bug 23397] New: - Need attribute for target tag to indicate hidden/internal target

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23397>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23397

Need attribute for target tag to indicate hidden/internal target

           Summary: Need attribute for target tag to indicate
                    hidden/internal target
           Product: Ant
           Version: 1.5.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: apache@ia-inc.com


I use my IDE (NetBeans) for most ant work.  There are times when I need to create intermediate 
targets for the sake of modularity and code reuse.  Unfortunately, all these extra targets show up 
as first-rate targets to be executed in my IDE.  I've tried various target naming conventions to help 
highlight/lowlight primary/intermediate targets, but it's not great.

If there were an attribute flag to indicate intermediate/private targets, then IDEs could optionally 
hide these targets. 

For example:

<target name="foo" private="true">

This might also be useful if you ever add a "list targets" feature to the ant CLI.  For example:

ant -list [file]   (list all primary targets)
ant -list -all [file]   (list private targets too)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org