- bundle your tasks in a <target><echo>HelloWorld</echo></target> 
- give that target a name  <target name="foo">
- call that target from the commandline
  ant foo


Jan

>-----Ursprüngliche Nachricht-----
>Von: deepali sharma [mailto:[EMAIL PROTECTED] 
>Gesendet: Freitag, 16. Juni 2006 11:49
>An: [email protected]
>Betreff: Command line parameter
>
>Hi
>We have requirement like this.
>I want to give a command line argument and based on this 
>argument I want run some task.
>Can this is possible.
>If possible how we can achieve this???
>
>--
>cheers....
>deepali
>

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

Reply via email to