Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Mon, 4 Aug 2003 1:20 AM

Me either
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-254


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-254
    Summary: maven.bat has incorrect syntax on WinXP's cmd.exe
       Type: Bug

     Status: Closed
   Priority: Trivial
 Resolution: CANNOT REPRODUCE

 Time Spent: Unknown
  Remaining: 10 minutes

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0-rc1
   Versions:
             1.0-beta-7

   Assignee: 
   Reporter: Carlos Villela

    Created: Tue, 4 Feb 2003 3:41 PM
    Updated: Mon, 4 Aug 2003 1:20 AM
Environment: Microsoft Windows XP [version 5.1.2600], using cmd.exe, JDK 1.4.0

Description:
The provided maven.bat double-quotes -D runtime definitions, and the VM interprets 
this incorrectly, giving the user a command-line options help page.

I fixed it re-quoting the following lines:

SET MAVEN_OPTS=-Xmx128m
REM -- The following values are quoted as MAVEN_HOME might contain spaces
SET JAVA="%JAVA_HOME%\bin\java"
SET MAVEN_OPTS=%MAVEN_OPTS% -Dmaven.home="%MAVEN_HOME%"
SET MAVEN_OPTS=%MAVEN_OPTS% -Dtools.jar="%JAVA_HOME%\lib\tools.jar"
SET MAVEN_OPTS=%MAVEN_OPTS% -Dforehead.conf.file="%MAVEN_HOME%\bin\forehead.conf"
SET MAVEN_CLASSPATH="%MAVEN_HOME%\lib\forehead-1.0-beta-4.jar"
SET MAVEN_MAIN=com.werken.forehead.Forehead



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to