Return-Path: Delivered-To: apmail-maven-m2-dev-archive@www.apache.org Received: (qmail 64580 invoked from network); 29 Sep 2004 13:33:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Sep 2004 13:33:23 -0000 Received: (qmail 47393 invoked by uid 500); 29 Sep 2004 13:33:23 -0000 Delivered-To: apmail-maven-m2-dev-archive@maven.apache.org Received: (qmail 47350 invoked by uid 500); 29 Sep 2004 13:33:22 -0000 Mailing-List: contact m2-dev-help@maven.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Maven 2 Developers List" Reply-To: "Maven 2 Developers List" Delivered-To: mailing list m2-dev@maven.apache.org Received: (qmail 47336 invoked by uid 99); 29 Sep 2004 13:33:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [64.7.141.17] (HELO codehaus.org) (64.7.141.17) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 29 Sep 2004 06:33:21 -0700 Received: (qmail 10776 invoked from network); 29 Sep 2004 13:35:51 -0000 Received: from localhost (HELO beaver.codehaus.org) (127.0.0.1) by codehaus.org with SMTP; 29 Sep 2004 13:35:51 -0000 Message-ID: <20874997.1096464951603.JavaMail.orion@beaver.codehaus.org> Date: Wed, 29 Sep 2004 09:35:51 -0400 (EDT) From: jira@codehaus.org To: m2-dev@maven.apache.org Subject: [jira] Created: (MNG-86) m2-bootstrap-all.bat fails if ${maven.home} contains spaces Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MNG-86 Here is an overview of the issue: --------------------------------------------------------------------- Key: MNG-86 Summary: m2-bootstrap-all.bat fails if ${maven.home} contains spaces Type: Bug Status: Unassigned Priority: Trivial Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: m2 Assignee: Reporter: Magne Rasmussen Created: Wed, 29 Sep 2004 9:35 AM Updated: Wed, 29 Sep 2004 9:35 AM Environment: Windows XP SP2, JDK 1.4.2_05 Description: m2-bootstrap-all.bat (CVS rev. 1.4) fails on line 114 if M2_HOME=%USERPROFILE%/m2 (expands to 'C:\Documents and Settings\User/m2'). This can be fixed by replacing line 104 with: SET MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% -Dmaven.home="%M2_HOME%" The same error manifests itself in maven-core-it/maven-core-it.bat, where line 23 can be replaced with: %JAVA_HOME%\bin\java.exe %* -Dmaven.home="%M2_HOME%" -cp "..\maven-core-it-verifier\target\maven-core-it-verifier-1.0.jar" org.apache.maven.it.Verifier as a fix. There will be a lot of errors if M2_HOME is set like 'SET M2_HOME="C:\Documents and Settings\User\m2"' (notice double qoutes around the path). These qoutes should probably be stripped before trying to use M2_HOME in any script. Or a suitable warning could be put in the docs :-) --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira