Mark, if you could test the new batch file in CVS for me, that'd be much appreciated. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers
"Mark Langley" <[EMAIL PROTECTED]> wrote on 01/10/2002 04:10:34 AM: > Thanks for the response. It turns out the problem is the Windows 9x > shell's inability to handle maven.bat. Something in the gradual buildup > of MAVEN_OPTS causes a syntax error in the shell. So only the first > option is handed to Java, and Forehead isn't told where its conf file > lives. > > The gradual buildup of MAVEN_CMD_LINE_ARGS seems to work ok for the > tests that I ran. > > So I removed the lines: > > SET MAVEN_OPTS=-Xmx128m > SET MAVEN_OPTS=%MAVEN_OPTS% "-Dmaven.home=%MAVEN_HOME%" > SET MAVEN_OPTS=%MAVEN_OPTS% "-Dtools.jar=%JAVA_HOME%\lib\tools.jar" > SET MAVEN_OPTS=%MAVEN_OPTS% > "-Dforehead.conf.file=%MAVEN_HOME%\bin\forehead.conf" > > and changed the java command from > > %JAVA% %MAVEN_OPTS% -classpath %MAVEN_CLASSPATH% %MAVEN_MAIN% > %MAVEN_CMD_LINE_ARGS% > > to > > %JAVA% -Xmx128m -Dmaven.home=%MAVEN_HOME% > -Dtools.jar=%JAVA_HOME%\lib\tools.jar > -Dforehead.conf.file=%MAVEN_HOME%\bin\forehead.conf -classpath > %MAVEN_CLASSPATH% %MAVEN_MAIN% %MAVEN_CMD_LINE_ARGS% > > Everything worked after that. > > Thanks for the assistance, > > Mark > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: September 28, 2002 1:33 AM > To: Turbine Maven Users List > Subject: Re: Bootstrap build fails with NullPointerException on Win98 > > > I've seen this when one of the jars listed in forehead.conf was missing > -- > dIon Gillard, Multitask Consulting > Work: http://www.multitask.com.au > Developers: http://adslgateway.multitask.com.au/developers > > > "Mark Langley" <[EMAIL PROTECTED]> wrote on 28/09/2002 04:38:04 AM: > > > Hi, > > > > I'm trying to migrate from Maven b4 to the current HEAD version. When > > I do a bootstrap build I get the following error: > > > > [exec] C:\temp\jakarta-turbine-maven>"c:\j2sdk1.4.0\bin\java" > > -Xmx128m -classpath "c:\bin\maven\lib\forehead-1.0-beta-4.jar" > > com.werken.forehead.Forehead maven:reactor-install > > [exec] java.lang.NullPointerException > > [exec] at java.io.File.<init>(File.java:180) > > [exec] at com.werken.forehead.Forehead.main(Forehead.java:565) > > > > Two identical errors occur at later stages in the build. The > > development machine is running Windows98 if this is relevant. > > > > Has anyone encountered this before? I can send someone the entire > > build output if desired, but didn't want to clutter the mailing > > list... > > > > Thanks > > > > Mark Langley > > CaseBank Technologies Inc. > > > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:turbine-maven-user- > > [EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:turbine-maven-user- > > [EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:turbine-maven-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:turbine-maven-user- > [EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
