You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ja...@rzf.fin-nrw.de on 2008/10/01 07:18:49 UTC

AW: Build fails when 'java' task's "arg line" contains a directory path with spaces

>> 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.
>
>-steve


I suggest also that you try the prompted command.
Ant will prompt the generated command in verbose|debug mode...


Jan

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