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=6368>.
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=6368

Wild card as a target name or comma separated target name

           Summary: Wild card as a target name or comma separated target
                    name
           Product: Ant
           Version: 1.4.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I think it will be useful to specify a property/wild card as a target name. 
For example 
<target name="{target.name}" depends="init">
 <ant antfile="package-build.xml" dir="${env.root}/ttr/src" 
      target="${build.target.name}"/>
</target>

OR a comma separated target name

<target name="dev, release" depends="init">
 <ant antfile="package-build.xml" dir="${env.root}/ttr/src" 
      target="${build.target.name}"/>
</target>

This is a *super* feature to have. If this was allowed, my build scripts would 
have looked awesome.

The idea here is that the "init" target sets up properties related to 
the current package and these properties are porpogated to a common build file.
This avoids a lot of re-write.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to