You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by ji...@codehaus.org on 2004/12/11 05:25:14 UTC
[jira] Created: (MNG-99) maven-core-it not dealing with evironment correctly
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MNG-99
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MNG-99
Summary: maven-core-it not dealing with evironment correctly
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: m2
Assignee:
Reporter: Brett Porter
Created: Fri, 10 Dec 2004 11:24 PM
Updated: Fri, 10 Dec 2004 11:24 PM
Description:
not investigating this right now, but I get this in the log for each test:
ERROR: JAVA_HOME is set to an invalid directory.
JAVA_HOME = /usr/local/java
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation
I'm using Cygwin on Windows for this. These are the same settings I had before - it appears that the change to the new CLI is not correctly passing the environment?
---------------------------------------------------------------------
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
[jira] Commented: (MNG-99) maven-core-it not dealing with evironment correctly
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Brett Porter
Created: Fri, 10 Dec 2004 11:26 PM
Body:
actually, it seems that it is, it just runs m2.bat instead of m2 under cygwin.
I guess the appropriate thing to do is either:
a) have commandline handle cygwin and run bash instead of cmd
b) do JAVA_HOME=`cygpath -pw $JAVA_HOME` before the execution of the Verifier class.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MNG-99?page=comments#action_27843
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MNG-99
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MNG-99
Summary: maven-core-it not dealing with evironment correctly
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: m2
Assignee:
Reporter: Brett Porter
Created: Fri, 10 Dec 2004 11:24 PM
Updated: Fri, 10 Dec 2004 11:26 PM
Description:
not investigating this right now, but I get this in the log for each test:
ERROR: JAVA_HOME is set to an invalid directory.
JAVA_HOME = /usr/local/java
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation
I'm using Cygwin on Windows for this. These are the same settings I had before - it appears that the change to the new CLI is not correctly passing the environment?
---------------------------------------------------------------------
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