[ http://jira.codehaus.org/browse/MAVEN-1730?page=all ]
Anton Tagunov updated MAVEN-1730:
---------------------------------
Attachment: maven.bat.3.diff
Or to be even on a safer side, could do like mvn.bat does. Now we're
bulletproof :-)
> 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.3.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]