ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25721] - Exec Task, Arg Path and Quotes (";)
Date Tue, 23 Dec 2003 10:52:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25721>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25721

Exec Task, Arg Path and Quotes (&quot;;)

peter.reilly@corvil.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From peter.reilly@corvil.com  2003-12-23 10:52 -------
I do not think that this is a bug.
You are passing a filename begining with a " (which is a valid
character for a filename) to the
path argument of "arg". This is a relative filename and so
gets converted to an absolute filename by prepending
${basedir}/.

The problem you are having is that for some reason
the path needs to be quoted for your script/batch file
ejbdeploy.? on windows. The stange thing is that
the script file understands the mal-formed path (with
the '${basedir}\' prepend).


One solution is to not use the path attribute and to
write the path by name:
            <arg
path="&quot;${lib.dir}/gnu/regexp/${regexp.version}/regexp.jar${path.separator}${websphere.dir}/lib/xerces.jar${path.separator}${dist.dir}/hpiutil.jar&quot;"/>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message