Re: help with some conditional logic..

2007-07-25 Thread Dominique Devienne
On 7/23/07, warhero <[EMAIL PROTECTED]> wrote: bill/wilandra wrote: > Create a target named init which will define/set props.someprop to any > value. > This would kind of work. But this will fail to execute all commands in a "depends" chain. if one of the if tests isn't met then subsequent ta

Re: help with some conditional logic..

2007-07-25 Thread aaron smith
That's perfect. Thanks much.

Re: help with some conditional logic..

2007-07-23 Thread warhero
; >> >> >> >> >> So what im trying to do is only execute if a property is true.. Obviously >> some pretty simple logic but doing that in ant? >> >> thanks >> > > -- View this message in context: http://ww

Re: help with some conditional logic..

2007-07-23 Thread Bill Rich
Create a target named init which will define/set props.someprop to any value. HTH Bill warhero wrote: ##how use some logic based on a property from the props file that will either execute the "exec" or just pass it?

Re: help with some conditional logic..

2007-07-23 Thread warhero
>> >> >> >> >> >> >> >> >> >> So what im trying to do is only execute if a property is true.. Obviously >> some pretty simple logic but doing that in ant? >> >> t

Re: help with some conditional logic..

2007-07-23 Thread Wascally Wabbit
Try the flow control tasks that are in the AntXtras third party package @ antxtras.sf.net. For your example: If you'd like to make sure the property is "true" use: For multiple properties something like: HTH, -The Wabbit warhero wrote:

help with some conditional logic..

2007-07-23 Thread warhero
st pass it? So what im trying to do is only execute if a property is true.. Obviously some pretty simple logic but doing that in ant? thanks -- View this message in context: http://www.nabble.com/help-with-some-c