ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Payala" <>
Subject Build fails when 'java' task's "arg line" contains a directory path with spaces
Date Mon, 29 Sep 2008 14:07:32 GMT


Our build fails while executing the following task. It fails only when the
application is installed in a directory having space.


<java classname="" failonerror="true" fork="yes" maxmemory="512m"

            <jvmarg value="-server"/>

            <arg line="@{type} @{configDir}"/>


             <path refid="client.classpath.lib"/>




If the @{configDir} directory does not have spaces then the build succeeds.
We have tried specifying @{configDir} in "", '', but it didn't work.


Kindly provide some pointers to resolve the issue.





Vivek Payala | Team Lead - Configuration Management (Professional & Managed
Services Group) | Persistent Systems

 <>  |
Cell: +91 93701 31472 | Tel: +91 (20) 3023 6447

Innovation in software product design, development and delivery-


This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message