Re: New bootstrap on 1.5

2005-11-22 Thread Mark Hobson
On 21/11/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > Actually there appears to be a few more related space issues (seems > like I'm the only daft one insisting on running mvn under > spaced-paths.. ;) I'll submit a patch later. http://jira.codehaus.org/browse/MNG-1653 Mark

Re: New bootstrap on 1.5

2005-11-21 Thread Mark Hobson
Actually there appears to be a few more related space issues (seems like I'm the only daft one insisting on running mvn under spaced-paths.. ;) I'll submit a patch later. Mark On 21/11/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > On 21/11/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > fixed, th

Re: New bootstrap on 1.5

2005-11-21 Thread Mark Hobson
On 21/11/05, Brett Porter <[EMAIL PROTECTED]> wrote: > fixed, thanks Cheers. Also fancy fixing this for space-loving folks like myself?: Index: bootstrap.sh === --- bootstrap.sh(revision 348007) +++ bootstrap.sh(work

Re: New bootstrap on 1.5

2005-11-21 Thread Brett Porter
fixed, thanks Mark Hobson wrote: On 21/11/05, Mark Hobson <[EMAIL PROTECTED]> wrote: On 21/11/05, Brett Porter <[EMAIL PROTECTED]> wrote: The same. You need to set JAVA_HOME to the JDK, not the JRE. I have the env var JAVA_HOME set to "C:\Progra~1\Java\jdk1.5.0_04", but the JRE java.exe ta

Re: New bootstrap on 1.5

2005-11-21 Thread Mark Hobson
On 21/11/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > On 21/11/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > The same. You need to set JAVA_HOME to the JDK, not the JRE. > > I have the env var JAVA_HOME set to "C:\Progra~1\Java\jdk1.5.0_04", > but the JRE java.exe takes precedence and thus the sy

Re: New bootstrap on 1.5

2005-11-21 Thread Mark Hobson
On 21/11/05, Brett Porter <[EMAIL PROTECTED]> wrote: > The same. You need to set JAVA_HOME to the JDK, not the JRE. I have the env var JAVA_HOME set to "C:\Progra~1\Java\jdk1.5.0_04", but the JRE java.exe takes precedence and thus the sysprop java.home points to the JRE. Not sure how plexus compi

Re: New bootstrap on 1.5

2005-11-21 Thread Brett Porter
The same. You need to set JAVA_HOME to the JDK, not the JRE. - Brett Mark Hobson wrote: It's looking at "C:\Program Files\Java\jre1.5.0_04\..\lib\tools.jar", which obviously doesn't exist. I'm using the standard Java5 installation of: C:\Program Files\Java |_ jdk1.5.0_04 |_ lib/tools.jar |_

RE: New bootstrap on 1.5

2005-11-21 Thread Allison, Bob
r 21, 2005 17:15 To: Maven Developers List Subject: Re: New bootstrap on 1.5 It's looking at "C:\Program Files\Java\jre1.5.0_04\..\lib\tools.jar", which obviously doesn't exist. I'm using the standard Java5 installation of: C:\Program Files\Java |_ jdk1.5.0_0

Re: New bootstrap on 1.5

2005-11-21 Thread Mark Hobson
It's looking at "C:\Program Files\Java\jre1.5.0_04\..\lib\tools.jar", which obviously doesn't exist. I'm using the standard Java5 installation of: C:\Program Files\Java |_ jdk1.5.0_04 |_ lib/tools.jar |_ jre1.5.0_04 (== $JAVA_HOME) Seems like $JAVA_HOME/../lib/tools.jar is not a reliable expre

Re: New bootstrap on 1.5

2005-11-21 Thread Brett Porter
Can you drop a statement in JavacCompiler.java to echo the path to tools.jar it is trying to use, and check it exists for you? it looks in ${java.home}/../lib/tools.jar, and ${java.home} is usually the location of the JRE used ($JAVA_HOME/jre) Cheers, Brett Mark Hobson wrote: Hi there, Jus

Re: New bootstrap on 1.5

2005-11-21 Thread Mark Hobson
On 21/11/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > I use jdk 1.5 too, and i don't have this error. do you have an other jdk > (other than sun jdk) in > your cygwin path? Nope, I've only got 1.5 installed. Mark - To unsu

Re: New bootstrap on 1.5

2005-11-21 Thread Emmanuel Venisse
I use jdk 1.5 too, and i don't have this error. do you have an other jdk (other than sun jdk) in your cygwin path? Emmanuel Mark Hobson a écrit : On 21/11/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: You must have a settings.xml file in ~/.m2/ This was never a problem with the old boot

Re: New bootstrap on 1.5

2005-11-21 Thread Mark Hobson
On 21/11/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > You must have a settings.xml file in ~/.m2/ This was never a problem with the old bootstrap - it was more the tools.jar problem that I was referring to. Mark - To unsubs

Re: New bootstrap on 1.5

2005-11-21 Thread Emmanuel Venisse
You must have a settings.xml file in ~/.m2/ Emmanuel Mark Hobson a écrit : Hi there, Just trying the new bootstrap on JDK 1.5.0_04 and getting: [EMAIL PROTECTED] components]$ ./bootstrap.sh Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for de

New bootstrap on 1.5

2005-11-21 Thread Mark Hobson
Hi there, Just trying the new bootstrap on JDK 1.5.0_04 and getting: [EMAIL PROTECTED] components]$ ./bootstrap.sh Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Using settings from C:\Documents and Settings\mark\.m2\settings.xml You