ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6368] New: - Wild card as a target name or comma separated target name
Date Mon, 11 Feb 2002 15:02:52 GMT
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: ant-dev@jakarta.apache.org
        ReportedBy: jnaveen@ltp.soft.net


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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message