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
--
>
> 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
>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
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
-