ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: I can't use the <if>task
Date Tue, 12 Aug 2008 16:22:13 GMT
Did you install Ant Contrib?

Looks to me like you haven't set up Ant Contrib?

http://ant-contrib.sourceforge.net/

At the bottom of the page discusses how to do the taskdef...

On Tue, 12 Aug 2008, Mike Garcia wrote:

> Hello,
>
>
>
> I have added the if task around some exec statements because I don't
> want them executed if a property is set.  Something like this:
>
>
>
> <if name="skipclean" value="true">
>
>                ... do stuff
>
> </if>
>
>
>
> This fails to execute and I get the error message: Problem: failed to
> create task or type if. Do I need to install something else?  I have Ant
> 1.7.0 installed, nothing else.
>
>
>
> Thanks,
>
> -Mike
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

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


Mime
View raw message