The space in a target name is dangerous. You can pass multiple targets
on the commandline seperateted by a space.
It is not clear wheter you specify a target containing a space or two
targets without space.
You should avoid that.
/Dirk
> -----Original Message-----
> From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com]
> Sent: Monday, September 29, 2003 4:24 PM
> To: Ant Users List
> Subject: TARGET NAME LIKE THIS; IS IT POSSIBLE IN ANT ?
>
>
>
>
> Hi,
>
> I wanted to run an ant task with the target name as
> "update-xyz testnet" ...is it possible ?
>
>
>
> If i make this target name as "update-xyz-testnet" which
> works just fine .....and when i give some this like a space
> like "update-xyz testnet" ....it gives an error:
>
>
>
> my-unix-box> ./ant update-xyz testnet
> Buildfile: build.xml
>
> BUILD FAILED
>
> Target `update-xyz' does not exist in this project.
>
> Total time: 4 seconds
>
>
>
>
>
> any ideas ?
>
> thanks in advance. - shailesh
>
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|