ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Conditional depends clause
Date Fri, 31 Oct 2008 16:50:15 GMT

I have this in my build.xml file

<target name="copy-conf" depends="copyDevConf,copyIntConf,copyQaConf,copyProdConf" />

What I would like, however, is to only have one depends option depending on what a variable
"env" is, which is passed to my script.  So, for example, if env = "dev", I would like to
execute only the "copyDevConf" option above.  How do I configure this in ANT?

Thanks, - Dave

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message