Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Multiple IFs, or IFs on tasks

Multiple IFs, or IFs on tasks

2005-06-23       - By Frank W. Zammetti
Reply:     1     2     3  

Hi all... I'm trying to solve a problem and one of the following two
approaches would work, and although it doesn't seem possible from my
testing, I wanted to run it by you guys...

First, is it possible to do if checks on a target against multiple
properties?  I tried simply have two if attributes, but that threw an
error, and I tried a comma-separated list within a single if, but that
resulted in the task not executing.

Second, I might be missing it, but there doesn't seem to be an if
attribute on a task (like copy for instance), is that correct?

Thanks all!

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.