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 17711] New: - Enable use of properties reference in depends
Date Thu, 06 Mar 2003 09:19:14 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=17711>.
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=17711

Enable use of properties reference in depends

           Summary: Enable use of properties reference in depends
           Product: Ant
           Version: 1.5.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: steven.t.urwin@accenture.com


I want to be able to get away with something like the following...

<?xml version="1.0" encoding="UTF-8" ?>

<project name="myTest" default="main" basedir="./">

  <property name="build.productlist" value="a, b" />
  
  <target name="main" depends="${build.productlist}">
  </target>

  <target name="a">
    <echo message="Building Product A"/>
  </target>

  <target name="b">
    <echo message="Building Product B"/>
  </target>

</project>

This will enable me to use an external properties file to determine which 
products to build, without the need to constantly update my master build.xml.

Ant does not seem to support this at the moment.

Mime
View raw message