Thanks. Yes, I can't seem to find the antcontrib... it seems to be ccptask or something.
I'll check out Antelope. =) Patrick On Thu, Nov 13, 2008 at 6:32 AM, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > -----Original Message----- > From: Patrick Waugh [mailto:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
