ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Gordon" <tim.gor...@allustra.com>
Subject RE: Properties with spaces in via a wrapper script
Date Tue, 12 Aug 2003 09:34:29 GMT
It's not something that ships with ANT - just my own wrapper, grown from the
original ANT one, which doesn't work with my UWIN ksh.

What happens is that -Dx="some thing" and "-Dx=some thing" both end up as

-Dx=some thing

inside the script, before it's passed to the java invocation which fires off
ANT itself.

I've got to use spaces - I'm trying to pass things through to another java
invocation which will in turn parse the command line - changing this isn't
an option for me. I'm starting to get the fear!

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: 12 August 2003 10:27
To: user@ant.apache.org
Subject: Re: Properties with spaces in via a wrapper script


On Tue, 12 Aug 2003, Tim Gordon <tim.gordon@allustra.com> wrote:

> ant.sh target -Dproperty="some thing"

Does

ant.sh target "-Dproperty=some thing"

work?

BTW, what is ant.sh?  Nothing that ships with Ant, is it?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message