Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] Running Buckminster via java -jar fails to import with JDK 1.5

Andreas Pakulat wrote on Mon, 17 May 2010 07:10
Andreas Pakulat wrote on Fri, 14 May 2010 12:45
> Thanks for the response, > Johannes Utzig wrote on Fri, 14 May 2010 11:30 > > Can you try running the buckminster script and > > point it to the exact same JDK as in your build? i.e.
> > buckminster -vm /home/andreas/.hudson/tools/1.5_JDK/bin/java ...
> > Just to narrow it down if it's an issue with the java version or > > something else. > > > So to conclude: I can only reproduce the problem when running the build from inside hudson. I'll compare the environements between hudson and my terminal on monday to check if there's any difference there.


I've tried to replicate the exact environment in a terminal session, but the import with 1.5 JDK and buckminster 3.6 still works. I've also tried the installation of buckminster
the same way that hudson does it with no luck.

The only thing I could not replicate in the terminal is an envvar that shows up in the hudson log as "PATH+JDK=<jdk>/bin". Does anybody have an idea how I can further debug that?


I think I've done something wrong with the "do the buckminster installation like hudson" part, at least I can now 100% reproduce the issue with these steps:

export JAVA_HOME=$HOME/.hudson/tools/1.5_JDK
export PATH=$JAVA_HOME/bin:$PATH
wget http://download.eclipse.org/tools/buckminster/products/director_latest.zip
unzip director_latest.zip
./director/director -vm /home/andreas/.hudson/tools/1.5_JDK/bin/java -d $PWD/buckminster -p Buckminster -r "http://download.eclipse.org/tools/buckminster/headless-3.6, http://download.eclipse.org/tools/buckminster/headless-3.6/, http://download.cloudsmith.com/buckminster/external-3.6"; -installIU "org.eclipse.equinox.p2.director.feature.feature.group, org.eclipse.buckminster.psf.feature.feature.group, org.eclipse.buckminster.emma.headless.feature.feature.group, org.eclipse.buckminster.pde.headless.feature.feature.group, org.eclipse.buckminster.subclipse.headless.feature.feature.group, org.eclipse.buckminster.maven.headless.feature.feature.group, org.eclipse.buckminster.cmdline.product, org.eclipse.buckminster.core.headless.feature.feature.group, org.eclipse.buckminster.git.headless.feature.feature.group, org.eclipse.buckminster.cvs.headless.feature.feature.group"
/home/andreas/.hudson/tools/1.5_JDK/bin/java -Dbuckminster.output.root=/home/andreas/.hudson/jobs/rcp/workspace/buckminster.output -Dbuckminster.temp.root=/home/andreas/.hudson/jobs/rcp/workspace/buckminster.temp -jar $PWD/buckminster/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -application org.eclipse.buckminster.cmdline.headless -data /home/andreas/.hudson/jobs/rcp/workspace --loglevel info -S /home/andreas/.hudson/jobs/rcp/workspace/commands.txt



Back to the top