Bugs item #1481841, was opened at 2006-05-04 15:43
Message generated for change (Comment added) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1481841&group_id=31650
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: cvs
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Remco (remcos)
>Assigned to: Gert Driesen (drieseng)
Summary: exec task's commandline and arg eat = signs
Initial Comment:
in the following task definition:
<exec program="msbuild.bat" append="true"
commandline="/p:PropName=Value" >
<arg value="/p:PropName=Value" />
<arg line="/p:PropName=Value" />
</exec>
in every instance of the /p:Propname=Value string any
sequence of = (equals) signs gets replaced by a single
space.
this can be prevented by surrounding the argument with
" 's like this <arg
value=""/p:PropName=Value"" />
but this is not very helpful when the value after the =
needs to be quoted with "'s too (as in /p:Platform="Any
CPU" ) because that ends up as "/p:Platform="Any CPU""
which doesn't hide the space at the commandline anymore.
Replacing the = by &eq; or several variants thereof
does not work
Replacing the inner quotes with ' or '
does not work either.
As there is no reference to this behaviour in the
documentation of <exec /> (or anywhere else that I
could find, the NAntWiki is mumbling something about a
database connection error) i have submitted this as a bug.
if the = replacing behaviour is intended then this bug
submission can be reclassified as a documentation bug.
the nant version used is Nant-0.85-nightly-2006-04-30
----------------------------------------------------------------------
>Comment By: Gert Driesen (drieseng)
Date: 2006-05-21 11:07
Message:
Logged In: YES
user_id=707851
This is not a NAnt bug, but a limitation in the MS-DOS
commandline processor:
http://support.microsoft.com/?kbid=35938
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1481841&group_id=31650
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers