Re: I can't use the task

2008-08-14 Thread Steven Guitar
thats weird. this response was geared towards Mike, however i did provide a similar answer to Guy earlier. yea it seems that what you had is more in line with what he wants. On Aug 14, 2008, at 11:57 AM, Scot P. Floess wrote: This is true. However, I think Guy wants to take some action if a

Re: I can't use the task

2008-08-14 Thread Scot P. Floess
This is true. However, I think Guy wants to take some action if a property is set. Therefore the is what he probably ought to use :) On Thu, 14 Aug 2008, Steven Guitar wrote: you should try this... ${myprop} this is a silly example, but the idea is that if and only if the prope

Re: I can't use the task

2008-08-14 Thread Steven Guitar
you should try this... ${myprop} this is a silly example, but the idea is that if and only if the property exists, the given target will run. unless is used in the opposite manner. you could also do straight if conditional checking with: do stu

Re: I can't use the task

2008-08-12 Thread Scot P. Floess
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'

RE: I can't use the task

2008-08-12 Thread Loehr, Ruel
Google ant-contrib. -Original Message- From: Mike Garcia [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 11:13 AM To: user@ant.apache.org Subject: I can't use the task Hello, I have added the if task around some exec statements because I don't want them executed if a property