Or if this is not an option use the ' quote for the line argument. i.e.:

        <jvmarg line='-Dlogfile="{$logdir}/buildlog-{@name}.txt"'/>

I don't use this for "jvmarg"'s but do use it extensively for other
arguments, particularly in <exec>.

Dave. 

-----Original Message-----
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
Sent: 10 January 2003 13:56
To: [EMAIL PROTECTED]
Subject: Re: Spaces in the path, XSLT, and Java


On Fri, 10 Jan 2003, Kyle Adams <[EMAIL PROTECTED]> wrote:

> I have a buildfile that's dynamically generates via XSLT.  Within
> that buildfile, I make a java call; one of the args passed into that
> java call (via <jvmarg>) contains the property ${user.home}.

Don't use the line attribute, use value and Ant will take care of the
spaces.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


**************************************************************************
The information contained in this e-mail is confidential,
may be privileged and is intended only for the use of the
recipient named above. If you are not the intended
recipient or a representative of the intended recipient,
you have received this e-mail in error and must not copy,
use or disclose the contents of this email to anybody
else. If you have received this e-mail in error, please
notify the sender immediately by return e-mail and
permanently delete the copy you received. This email has
been swept for computer viruses. However, you should
carry out your own virus checks.


Registered in Ireland, No. 205721. http://www.FINEOS.com
**************************************************************************


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to