You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2005/11/23 22:19:06 UTC

[jira] Commented: (MAVEN-1730) Autoset MAVEN_HOME on Win32

    [ http://jira.codehaus.org/browse/MAVEN-1730?page=comments#action_51832 ] 

Arnaud Heritier commented on MAVEN-1730:
----------------------------------------

Are you sure it works with all windows versions ?
I didn't remember when variables like %~dp0.. were added.

> Autoset MAVEN_HOME on Win32
> ---------------------------
>
>          Key: MAVEN-1730
>          URL: http://jira.codehaus.org/browse/MAVEN-1730
>      Project: Maven
>         Type: Improvement
>   Components: core
>  Environment: Windows
>     Reporter: Anton Tagunov
>  Attachments: maven.bat.diff
>
>
> I've had this put into ant.bat, now let's put it into maven.bat Here's how to see my patch usefullness:
> Run on Windows.
> Set JAVA_HOME.
> Add maven/bin added to %PATH%.
> Do not set MAVEN_HOME.
> Type maven -v
> Before my patch: ERROR: MAVEN_HOME not found in your environment.
> After my patch: maven run proceeds, MAVEN_HOME set to maven/bin/..
> P.S. Have got an apache account, atagunov, but not ready to apply other patches, at least right now.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org