http://www.ant-tasks.com/
Apache Ant Archive
»
Ant Users List
»
Ant Developers List
AW: AW: Multiple IFs, or IFs on tasks
AW: AW: Multiple IFs, or IFs on tasks
2005-06-24 - By Frank W. Zammetti
Reply:
1
2
3
4
5
6
7
8
9
10
>>
I may not have explained what I did very well...
I have a base target that is like this:
<target name="build">
<antcall target="startup_details" />
<antcall target="stop_tomcat" />
<antcall target="pre_cleanup" />
<antcall target="compile_app" />
<antcall target="update_system_about" />
...
</target>
There's probably 10-15 more where you see the ... All the called targets
are within the same build script.
One of the targets that gets called from the build target is like:
<target name="tomcat_dev" if="app_mode_dev">
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.