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

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

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

Anton Tagunov updated MAVEN-1730:
---------------------------------

    Attachment: maven.bat.2.diff

Arnaud, it's a 100% hit. On my way home yesterday I remembered that it won't work on win98.
But it does work on NT.
How about maven.bat.2.diff patch?
Now it's exactly the same logic as for ant.bat.

> 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.2.diff, 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