ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. Erik Husby" <mhu...@genome.wi.mit.edu>
Subject Re: Spaces in the path, XSLT, and Java
Date Fri, 10 Jan 2003 16:49:27 GMT
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:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>  
>

-- 
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
mhusby@genome.wi.mit.edu




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


Mime
View raw message