ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sudip barat" <sba...@cisco.com>
Subject Is it possible to dynamically change depends value of target ?
Date Tue, 27 Apr 2004 01:40:43 GMT



Hi
I am wondering if anything like this is at all possible in ant


<target name="co-all"   depends="${checkoutModule}">
                <echo message="***All Modules Checked out!! in co all
${checkoutModule}***"/>
        </target>


Intention is dynamically to determine the depends value to execute certain
targets .

 
 
 
currently build fails with following . Even though i am setting
checkoutModule in build.properties . I believe the failure happens during
ant syntax ,even before the properties are instantiated . 
 

BUILD FAILED
Target `${checkoutModule}' does not exist in this project. It is used from
target `co-all'.



Thanks
     sb


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message