ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <>
Subject [jira] [Updated] (IVY-1393) Ant task exec arg value does not quote properly for MSWindows
Date Mon, 10 Dec 2012 21:45:20 GMT


Maarten Coene updated IVY-1393:

                Labels:   (was: features newbie)
    Remaining Estimate:     (was: 504h)
     Original Estimate:     (was: 504h)
> Ant task exec arg value does not quote properly for MSWindows
> -------------------------------------------------------------
>                 Key: IVY-1393
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>         Environment: MSWindows
>            Reporter: Vincent Belaïche
> 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="&lt;link rel=&quote;icon&quote; type=&quote;image/png&quote;
size=&quote;48x48&quote; href=&quote;path/to/my/favion.png&quote; /&gt;"/>
> </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:

View raw message