You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2012/12/10 22:43:21 UTC
[jira] [Resolved] (IVY-1393) Ant task exec arg value does not quote
properly for MSWindows
[ https://issues.apache.org/jira/browse/IVY-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-1393.
--------------------------------
Resolution: Invalid
Yes, you submitted it to the wrong project.
You can find the Apache Ant issuetracker here: https://issues.apache.org/bugzilla/enter_bug.cgi?product=Ant
> Ant task exec arg value does not quote properly for MSWindows
> -------------------------------------------------------------
>
> Key: IVY-1393
> URL: https://issues.apache.org/jira/browse/IVY-1393
> Project: Ivy
> Issue Type: Bug
> Components: Ant
> Environment: MSWindows
> Reporter: Vincent Belaïche
> Labels: features, newbie
> Original Estimate: 504h
> Remaining Estimate: 504h
>
> I want to pass to some application the following string:\\
> {noformat}
> <link rel="icon" type="image/png" size="48x48" href="path/to/my/favion.png" />
> {noformat}
> So I use the following:\\
> {noformat}
> <exec executable="some_executable.exe">
> <arg value="<link rel="e;icon"e; type="e;image/png"e; size="e;48x48"e; href="e;path/to/my/favion.png"e; />"/>
> </exec>
> {noformat}
> However, the application gets this instead:\\
> {noformat}
> <link rel=icon type=image/png size=48x48 href=path/to/my/favion.png />
> {noformat}
> Double quotes were stripped by MSWindows because they were not properly escaped in the command line by Ant.
> I wrote a piece of code to do escaping of double quotes properly, and I will try to attach it to the issue later on if I can.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira