ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject Re: Conditionals
Date Mon, 28 Feb 2005 18:05:09 GMT
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" <fzlists@omnytex.com> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message