[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]