ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Burton" <>
Subject Re: Property Setting
Date Mon, 26 Feb 2001 20:16:12 GMT

This should be fixed in Ant 1.3beta3.  In the meantime, edit the ant
script and change the $@ on the last line to "$@" so that arguments will
be passed quoted into the JVM.

-Bill wrote:
> In trying to set a property, I've run into a wall.  From within a buildfile
> I can do the following:
> <property name="thing" value="sdasd asdasd asdasd" />
> Done outside the buildfile, from the command line, I try:
> ant -Dthing="sdasd asdasd asdasd" target
> and it tries to find the target 'asdasd'.
> Is there a way to set a property that has a space in it's contents from
> outside ant?

View raw message