Hi! I've found that my unless= is somewhat useless when using <antcall>. Here's a repro for what I'm trying to do: <project name="test" default="testIt"> <taskdef resource="net/sf/antcontrib/antlib.xml"/> <target name="testIt"> <antcall target="test1" inheritall="true" /> <antcall target="test2" inheritall="true" /> </target> <target name="test1"> <property name="testit" value="true"/> <echo message="in test1 and value of testit is: ${testit}"/> </target> <target name="test2" unless="testit"> <echo message="in test2"/> <echo message="value of testit is: ${testit}"/> </target> </project> And the results that I'm sure you anticipate as you understand how antcall works: [me@myMachine]$ ant -f test.xml Buildfile: test.xml testIt: test1: [echo] in test1 and value of testit is: true test2: [echo] in test2 [echo] value of testit is: ${testit} BUILD SUCCESSFUL Total time: 0 seconds My actual antcall is in a for loop using a list to call targets that start with the same word, like so: <for list="${build.apps} param="app"> <sequential> <antcall target="build@{app}"/> </sequential> </for> Can anyone give me a better methodology for achieving the results I'm after? Thanks, Eric
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org