You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2002/12/04 21:08:50 UTC

[maven-bug] Closed: (MAVEN-138) MAVEN_HOME not found on Win98, despite being set

Message:

   The following issue has been closed.

   Resolver: Peter Lynch
       Date: Wed, 4 Dec 2002 2:08 PM

I rewote the maven.bat file and committed it Dec 4, 2002, this should not be a problem anymore.
---------------------------------------------------------------------
View the issue:

  http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-138


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-138
    Summary: MAVEN_HOME not  found on Win98, despite being set
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: maven
  Component: core
    Fix For: 1.0-beta-8
   Versions:
             1.0-beta-6

   Assignee: Jason van Zyl
   Reporter: Andrew Stevens

    Created: Thu, 10 Oct 2002 3:22 PM
    Updated: Wed, 4 Dec 2002 2:08 PM
Environment: Windows 98, JDK 1.4.1, Maven 1.0-beta-7 (which isn't an option in the version list above)

Description:
D:\JavaApps\xdoclet\xdoclet>set
...
JAVA_HOME=C:\Progra~1\Javasoft\j2sdk\1.4.1
ANT_HOME=c:\progra~1\jakarta\ant-1.5
MAVEN_HOME=c:\progra~1\jakarta\maven-1.0-beta-7
PATH=C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UTILS;C:\EMTEX;C:\PROGRA~1\JAVASOFT\J2SDK\1.4.1\BIN;C:\PROGRA~1\JAKARTA\ANT-1.5\BIN;C:\PROGRA~1\JAKARTA\MAVEN-1.0-BETA-7\BIN
D:\JavaApps\xdoclet\xdoclet>maven
ERROR: MAVEN_HOME not found in your environment.
Please, set the MAVEN_HOME variable in your environment to match the
location of the Maven installation

It *is* set.  Why doesn't it see it?
I didn't have this problem with beta 6; I've updated the batch file to avoid the Set MAVEN_OPTS lines having two equals signs (which Win98 can't handle), but it's not even reaching that far.

I even added echo "MAVEN_HOME"="%MAVEN_HOME%" after the "Look for MAVEN_HOME" REM statement, and got

D:\JavaApps\xdoclet\xdoclet>maven
"MAVEN_HOME"="c:\progra~1\jakarta\maven-1.0-beta-7"
ERROR: MAVEN_HOME not found in your environment.
Please, set the MAVEN_HOME variable in your environment to match the
location of the Maven installation

Perhaps any string 'equals' "" in Windows 98's IF command?



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.werken.com/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira