-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Platform: All, OS: Windows XP
In a maven 2 project, if I add a property in the m2 options whose value is
surronded by double-quotes (because the value contains spaces) the invocation of
m2 fails just as if the quotes where removed.
For instance if my options are: install -Dmy.property="my value", then m2 fails
because "value" is not a valid goal.
Note that the freestyle projects treat quotes properly.
—
Reopen: Issue was reopened because added quote support affects backslashes. Double-backslash now gets collapsed to one.. see comments below.
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/util/ArgumentListBuilder.java
trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=13014
Log:
[FIXED JENKINS-2584]
Fixed tokenization handling in command line that involves quotes (like <tt>-Dabc="abc def"</tt>.