Try

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


Kyle Adams wrote:

The quotation marks don't match up around here. Maybe you need to use


&quot; to escape them?

Typo - should be:

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

Per Stefan's suggestion, I tried switch the attribute to value - this
is from the post-XSLT buildfile:

<jvmarg value="-Dlogfile=C:\Documents and
Settings\kadams/.snap/log/buildlog-siteController.txt"/>

I still ended up with the same error message - "-debug" yields:

Execute:Java13CommandLauncher: Executing
'D:\jdk1.3.1_04\jre\bin\java.exe' with arguments:
'-Dlogfile=C:\Documents and
Settings\kadams/.snap/log/buildlog-siteController.txt'
'-Dsnap.home=d:\dev\Corporate\tools\snap'
'-Ddev.dir=d:\dev\Corporate'
'-Dtoken.dir=D:\dev\Corporate\tools\snap/tokens'
'-classpath'
'D:\jdk1.3.1_04\lib\tools.jar;D:\ant\lib\xmltask.jar;D:\ant\lib\xml-apis.jar;D:\ant\lib\xercesImpl.jar;D:\ant\lib\xalan.jar;D:\ant\lib\optional-patched.jar;D:\ant\lib\NetComponents.jar;D:\ant\lib\mail.jar;D:\ant\lib\gfs-optional.jar;D:\ant\lib\bcel.jar;D:\ant\lib\ant.jar'
'org.apache.tools.ant.Main'
'-listener'
'org.apache.tools.ant.TextLogger'
'-listener'
'org.apache.tools.ant.MailListener2'
'-listener'
'org.apache.tools.ant.XmlLogger'
'-DXmlLogger.file=C:\Documents'
'and'
'Settings\kadams/.snap/log/buildlog-siteController.xml'
'-logger'
'org.apache.tools.ant.NoBannerLogger'
'-buildfile'
'd:\dev\Corporate/component/region/snap-siteController.xml'
'-emacs'
'snap'

It appears 'and' is still being split out as another argument. What am
I missing?

Kyle

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


--
Erik Husby
Group Lead for Software Quality Automation
Whitehead Institute/MIT Center for Genome Research
320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669
office: 617.258.9227
[EMAIL PROTECTED]




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

Reply via email to