ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From McDonnell Colm <>
Subject RE: Properties with spaces in via a wrapper script
Date Tue, 12 Aug 2003 09:27:21 GMT
it won't handle spaces in a command line arg, try delimiting with
underscores or "." instead e.g. target -Dproperty=some.thing

> -----Original Message-----
> From:	Tim Gordon []
> Sent:	Tuesday, August 12, 2003 10:24 AM
> To:	Ant Users List
> Subject:	Properties with spaces in via a wrapper script
> Hi
> I'm trying to pass a property into an ANT invocation that has a space it
> in:
> target -Dproperty="some thing"
> No prizes for guessing that I'm getting a "Target 'thing' does not exist
> in
> this project".
> What I'm actually trying to do is to pass a command through to java,
> getting
> ANT to set up my classpath.
> Tim Gordon
> Allustra Limited
> 1 Royal Exchange Avenue
> London
> EC3V 3LT
> Tel 020 7464 4190
> Tel 020 7464 4194
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

This message and any files transmitted with it are confidential and intended solely for the
use of 
the individual or entity to whom they are addressed.  If you have received this message in
please delete it and any files transmitted with it, after notifying
Any opinions expressed in this message may be those of the author and not necessarily those
the company.  The company accepts no responsibility for the accuracy or completeness of any

information contained herein.  This message is not intended to create legal relations between
company and the recipient.
Recipients should please note that messages sent via the Internet may be intercepted and that

caution should therefore be exercised before dispatching to the company any confidential or

sensitive information.

Mizuho International plc
Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090
Registered in England No. 1203696. Registered office as above. Authorised and regulated by
the Financial 
Services Authority. A member of the London Stock Exchange. A member of Mizuho Financial Group
by Mizuho Financial Group, Inc. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message