I tried to make a suggest the ANT developers group that they could accomplish 
that exact capablility with about 4 lines of code.
 
See: http://issues.apache.org/bugzilla/show_bug.cgi?id=33105
 
They rejected it :-(
 
Just use (and overuse) the <if> task from the ant-contrib project

"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
This might be the last Ant question I ever have to ask (now, where is the
deed to that bridge in Brooklyn?!?)...

Is it possible, and if so how, to do conditionals? I'd like to have a way
basically on each task to say "if property A=value1, then run this task,
otherwise don't". I'm looking through the manual now but haven't come
across what seems to fit the bill.

Thank you once again!

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.

Reply via email to