ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Build fails when 'java' task's "arg line" contains a directory path with spaces
Date Tue, 30 Sep 2008 13:23:54 GMT
Chad McHenry wrote:
> Just correcting my example; obviously you only want to quote the individual
> arguments: <arg line="'@{type}' '@{configDir}'"/>

That could still confuse the line breaking code.

I would suggest

1. breaking everything up

<arg value="@{type}"/>
<arg location="@{configDir}"/>

2. run ant -verbose to see what is being passed in

The @{} signs show that macros are at play; if there is one place bad 
things happen it is there, as property expansion can take place twice, 
and other quirks may show up.


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

View raw message