[
http://jira.codehaus.org/browse/MEXEC-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198827#action_198827
]
Matteo Collina commented on MEXEC-72:
-------------------------------------
Everything works as expected now, thank you.
> exec:exec mojo does not correctly pass arguments with spaces
> ------------------------------------------------------------
>
> Key: MEXEC-72
> URL: http://jira.codehaus.org/browse/MEXEC-72
> Project: Maven 2.x Exec Plugin
> Issue Type: Bug
> Components: exec
> Affects Versions: 1.1.2
> Environment: Linux Ubuntu 32/64bit, Windows Vista
> Reporter: Matteo Collina
> Assignee: Milos Kleint
> Priority: Blocker
> Fix For: 1.1.2
>
> Attachments: spaces-issue.zip
>
>
> The change introduced by bug
> [MEXEC-25|http://jira.codehaus.org/browse/MEXEC-25] broke our build.
> We are calling an ant task with a parameter with spaces (-Dmessage=hello
> world) in a single <argument> tag which before this change went perfectly.
> With this change the argument got splitted in two ("-Dmessage=hello" and
> "world"). Moreover the quoting doesn't work at all, i.e. it doesn't even work
> <argument>"-Dmessage=hello world"</argument>.
> Even the second solution would require us to change all our project poms,
> which is quite annoying and disruptive.
> I'm attaching a zip file containing two maven projects calling an ant target
> with a parameter: old-version and new-version.
> In the old-version project the exec mojo used is the stable one (1.1.1) and
> the build (mvn compile) is successful, whereas in the new-version
> (1.2-SNAPSHOT) the same build fails.
> Obviously both these project requires ant to be in path.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email