From issues-return-59990-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Fri Jan 01 13:05:26 2010 Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 42827 invoked from network); 1 Jan 2010 13:05:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jan 2010 13:05:26 -0000 Received: (qmail 70393 invoked by uid 500); 1 Jan 2010 13:05:26 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 70307 invoked by uid 500); 1 Jan 2010 13:05:26 -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 70297 invoked by uid 99); 1 Jan 2010 13:05:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 13:05:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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:05:16 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id C941B14A82F4 for ; Fri, 1 Jan 2010 07:04:55 -0600 (CST) Date: Fri, 1 Jan 2010 07:04:55 -0600 (CST) From: "Benjamin Bentmann (JIRA)" To: issues@maven.apache.org Message-ID: <18171423.49835.1262351095817.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Created: (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 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 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