Re: test if exists

2009-07-10 Thread Henk van Voorthuijsen
On Thu, 2009-07-09 at 10:13 +0200, Horvath Adam wrote: > > > > Give more command line arg > > > > > > > > An even simpler way would be: See the documentation: http://ant.apache.org/manual/CoreTasks/fail.html Henk --

Re: test if exists

2009-07-09 Thread Horvath Adam
> > Give more command line arg > > > > Thanks a lot. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

AW: test if exists

2009-07-09 Thread Jan.Materne
>ant -Dpropname=xxx // correct usage >ant // incorrect usage of my build > >Can I test a property existence? > >if propname not exists ( > echo "Give more command line arg" > exit ant running >) You could check that with the condition. In that case you would combine it with fail: Give mo

test if exists

2009-07-08 Thread Horvath Adam
Hi! I'm learning ant. ant -Dpropname=xxx // correct usage ant // incorrect usage of my build Can I test a property existence? if propname not exists ( echo "Give more command line arg" exit ant running ) Thanks, Adam -