Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 86578 invoked from network); 22 Jun 2006 16:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2006 16:34:07 -0000 Received: (qmail 9502 invoked by uid 500); 22 Jun 2006 16:33:38 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 8992 invoked by uid 500); 22 Jun 2006 16:33:35 -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 8834 invoked by uid 99); 22 Jun 2006 16:33:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jun 2006 09:33:34 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jun 2006 09:33:30 -0700 Received: (qmail 11968 invoked by uid 89); 22 Jun 2006 16:32:53 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 22 Jun 2006 16:32:53 -0000 Message-ID: <90000548.1150993973317.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Thu, 22 Jun 2006 11:32:53 -0500 (CDT) From: "John Casey (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (MNG-2178) incorrect M2_HOME guess in mvn.bat In-Reply-To: <144093802.1143211151306.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.codehaus.org/browse/MNG-2178?page=3Dall ] John Casey updated MNG-2178: ---------------------------- Fix Version: 2.0.5 > incorrect M2_HOME guess in mvn.bat > ---------------------------------- > > Key: MNG-2178 > URL: http://jira.codehaus.org/browse/MNG-2178 > Project: Maven 2 > Type: Bug > Components: Bootstrap & Build > Versions: 2.0.2 > Environment: WXP > Reporter: J=F6rg Henne > Fix For: 2.0.5 > > > mvn.bat contains the following lines: > :chkMHome > if not "%M2_HOME%"=3D=3D"" goto valMHome > if "%OS%"=3D=3D"Windows_NT" SET M2_HOME=3D%~dps0\.. > if not "%M2_HOME%"=3D=3D"" goto valMHome > Guessing M2_HOME=3D%~dps0\.. leads to complaints later on, since the scri= pt expects m2.bat in bin/...: > if exist "%M2_HOME%\bin\m2.bat" goto init > Hence, the line should read: > if "%OS%"=3D=3D"Windows_NT" SET M2_HOME=3D%~dps0\..\.. --=20 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