ant-user mailing list archives

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

 

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

 

<java classname="com.abc.a" failonerror="true" fork="yes" maxmemory="512m"
errorproperty="runerror">

            <jvmarg value="-server"/>

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

            <classpath>

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

            </classpath>

</java>

 

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.

 

 

Thanks,

 

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

 <mailto:milind_kharkar@persistent.co.in> vivek_payala@persistent.co.in  |
Cell: +91 93701 31472 | Tel: +91 (20) 3023 6447

Innovation in software product design, development and delivery-
<http://www.persistentsys.com/> www.persistentsys.com

 


DISCLAIMER
==========
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.

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