On windows boxes paths with spaces in were failing for the jdepend-xml: task

I added single quotes round both of its arguments and this seemed to 
resolve the problem.

Index: build.xml
===================================================================
RCS file: 
/home/cvspublic/jakarta-turbine-maven/src/templates/build/plugins/metrics/build.xml,v
retrieving revision 1.1
diff -u -r1.1 build.xml
--- build.xml   15 May 2002 19:17:44 -0000      1.1
+++ build.xml   4 Jun 2002 00:08:21 -0000
@@ -100,7 +100,7 @@
        classname="jdepend.xmlui.JDepend"
        fork="yes"
        failonerror="yes">
-      <arg line="-file ${maven.build.dir}/jdepend-raw-report.xml 
${maven.build.dest}"/>
+      <arg line="-file '${maven.build.dir}/jdepend-raw-report.xml' 
'${maven.build.dest}'"/>
        <classpath>
          <path refid="maven-classpath"/>
          <path refid="maven.dependency.classpath"/>



Still bootstraps ok after the patch, though I've not tested on a non 
windoze box.

All the best
James

-- 
James Macgill
Center for Computational Geography
Spell Checker (c) Creative Spelling inc (aka my dyslexic brain)
http://www.geotools.org  the open source java mapping toolkit.





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

Reply via email to