--- "Das, Kuntal" <[EMAIL PROTECTED]> wrote:
> I am trying to check a command-line argument in a target. And if it is
> not present then I want to show an informative message, like
> "Usage : ant -Ddebug=.....". After displaying the message I want to
> exit from the ant process. How can I do that ? 
> Scenario : 
>  
>  <target name="testParam" unless="debug">
>   <echo message="Usage : ant -buildfile &lt;location of build.xml&gt;
     ^^^^
Change echo to fail.

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to