You're right. The fix was for JAVA_HOME. Can you submit a tested patch for JAVA_HOME?
- Brett > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 12 May 2004 9:37 AM > To: Maven Users List > Subject: RE: RC2 Windows - Maven.bat does not allow spaces in > JAVA_HOME > > > Brett, > > I am a newbie at this, but I checked the Web Access CVS > before I posted. I > navigated to maven/src/bin/maven.bat and the latest revision was 1.40 > which still had the fault. If it is already fixed in CVS how > do I see the > latest revision using the Web Access? > > Cheers Dave > > Brett Porter <[EMAIL PROTECTED]> wrote on 12/05/2004 11:24:31: > > > Fixed in CVS. > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, 12 May 2004 9:23 AM > > > To: [EMAIL PROTECTED] > > > Subject: RC2 Windows - Maven.bat does not allow spaces in > JAVA_HOME > > > > > > > > > Hi, > > > > > > I have found an issue in RC2 in maven.bat on line 56: > > > > > > if exist %JAVA_HOME%\nul goto chkMHome > > > > > > As there is no quotes around it, it fails when there is spaces in > > > the JAVA_HOME value e.g. program files. > > > > > > I got it to work by changing the line to the following: > > > > > > if exist "%JAVA_HOME%" goto chkMHome > > > > > > I am not sure what the \nul was for but it works fine for > me without > > > it on Windows 2000. > > > > > > Cheers Dave > > > > > ********************************************************************** > CAUTION - This message is intended for the addressee named > above. It may contain privileged or confidential information. > If you are not the > intended recipient of this message you must not use, copy, distribute > or disclose it to anyone. > ********************************************************************** > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
