ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: <if> not working
Date Thu, 13 Nov 2008 12:32:21 GMT


-----Original Message-----
From: Patrick Waugh [mailto:ptwaugh@gmail.com]
Sent: Thursday, November 13, 2008 1:11 PM
To: Ant Users List
Subject: <if> not working

/*

and line 89 is the <If>.  I don't see an <If> task in Ant docs either.

What is wrong?
*/

i wrote =

...

***
or check the condition with antcontrib if/else in one target
***

means the <if> task is part of the antcontrib task suite,
it's not part of core ant.
Another fine ant task suite is Antelope, it has
similar tasks as antcontrib and an <if> task too.

antcontrib =
http://ant-contrib.sourceforge.net/tasks/tasks/index.html
http://sourceforge.net/project/showfiles.php?group_id=36177
(take version 1.0b2 or 1.0b3)

antelope =
http://antelope.tigris.org/nonav/docs/manual/index.html
http://antelope.tigris.org/files/documents/1409/11489/AntelopeTasks_3.5.0.zip


put the jar it in %ANT_HOME%/lib and =

<!-- Import AntContrib -->
<taskdef resource="net/sf/antcontrib/antlib.xml" />
...

or

<!-- Import Antelope -->
<taskdef resource="ise/antelope/tasks/antlib.xml" />
....


Regards, Gilbert


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message