From issues-return-59991-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Fri Jan 01 13:09:27 2010 Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 43325 invoked from network); 1 Jan 2010 13:09:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jan 2010 13:09:27 -0000 Received: (qmail 71066 invoked by uid 500); 1 Jan 2010 13:09:27 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 70989 invoked by uid 500); 1 Jan 2010 13:09:27 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 70979 invoked by uid 99); 1 Jan 2010 13:09:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 13:09:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 13:09:16 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 29F4214A82F3 for ; Fri, 1 Jan 2010 07:08:55 -0600 (CST) Date: Fri, 1 Jan 2010 07:08:55 -0600 (CST) From: "Benjamin Bentmann (JIRA)" To: issues@maven.apache.org Message-ID: <12008487.49842.1262351335143.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <18171423.49835.1262351095817.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Closed: (MPATCH-11) Plugin generates faulty command line when originalFile and destFile parameters are used MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ 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