maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MPATCH-11) Plugin generates faulty command line when originalFile and destFile parameters are used
Date Fri, 01 Jan 2010 13:08:55 GMT

     [ http://jira.codehaus.org/browse/MPATCH-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Bentmann closed MPATCH-11.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.1
         Assignee: Benjamin Bentmann

Fixed in [r895004|http://svn.apache.org/viewvc?view=revision&revision=895004].

> Plugin generates faulty command line when originalFile and destFile parameters are used
> ---------------------------------------------------------------------------------------
>
>                 Key: MPATCH-11
>                 URL: http://jira.codehaus.org/browse/MPATCH-11
>             Project: Maven 2.x Patch Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: 1.1.1
>
>
> Seems like I got an update of the patch tool which does stricter cmd line parsing. As
a result, today I observed the plugin IT "path with spaces" failing. The relevant part of
the build.log:
> {noformat}
> [INFO] [patch:apply {execution: apply-patch-1}]
> [DEBUG] Looking for patch: second.patch in: target\it\path with spaces\src\main\patches\second.patch
> [INFO] Applying patch: second.patch
> [INFO] cmd.exe /X /C "patch
>   "M:\maven\plugins\maven-patch-plugin\target\it\path with spaces\target\test.txt"
>   -o "M:\maven\plugins\maven-patch-plugin\target\it\path with spaces\target\test2.txt"
>   "M:\maven\plugins\maven-patch-plugin\target\it\path with spaces\src\main\patches\second.patch"
>   -p0 -l -i
>   "M:\maven\plugins\maven-patch-plugin\target\it\path with spaces\src\main\patches\second.patch""
> [DEBUG] patch: extra operand `M:\maven\plugins\maven-patch-plugin\target\it\path with
spaces\target\test2.txt'
> [DEBUG] patch: Try `patch --help' for more information.
> [INFO] patch command returned: 2
> {noformat}

-- 
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

        

Mime
View raw message