Building the Eclipse SDK: eclipse-build 0.0.2
Hi,
I figured this would be of interest to some here. I encourage those
interested to work with the Eclipse Linux Tools project upstream. We're
on #eclipse-linux on Freenode and our mailing list is:
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
Have a nice day,
Andrew
----- Forwarded message from Andrew Overholt <overholt@redhat.com> -----
> Date: Tue, 23 Jun 2009 16:53:14 -0400
> From: Andrew Overholt <overholt@redhat.com>
> To: linuxtools-dev@eclipse.org
> Subject: Building the Eclipse SDK: eclipse-build 0.0.2
>
> Hi,
>
> As some of you know, we've been working to make it easier for Linux
> distributions to include the Eclipse SDK and additional plugins. One
> obstacle to this was the building of the Eclipse SDK from scratch. Our
> eclipse-build work is trying to help.
>
> We have released a preliminary version, not ready for consumption by
> distributions, but ready for testing. We would greatly appreciate
> feedback in the form of bugs (see [1]) of the build working or not
> working on various distributions. Patches to fix any issues are even
> more greatly appreciated :)
>
> To get started, download these two files ([2]):
>
> http://www.eclipse.org/downloads/download.php?file=/technology/linuxtools/eclipse-build/eclipse-build-R0_0_2.tar.gz
> http://www.eclipse.org/downloads/download.php?file=/technology/linuxtools/eclipse-build/eclipse-I20090611-1540-fetched-src.tar.bz2
>
> Untar the first one and in the expanded directory put a symlink to the
> second one. Something like:
>
> tar zxf eclipse-build-R0_0_2.tar.gz
> cd eclipse-build-R0_0_2
> ln -s ../eclipse-I20090611-1540-fetched-src.tar.bz2
>
> Then, run the build.xml using an existing basebuilder
> (R35_M7) checkout. If you don't have a basebuilder checkout, you can
> get it like so:
>
> cd
> cvs -d:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co -r R35_M7 \
> org.eclipse.releng.basebuilder
>
> Then run the eclipse-build build.xml with the basebuilder you just
> checked out. Something like:
>
> cd eclipse-build-R0_0_2
> java -jar \
> ~/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher_1.0.200.v20090429-1630.jar \
> -consolelog -data $(pwd)/baseworkspace -Duser.home=$(pwd)/userhome \
> -application org.eclipse.ant.core.antRunner \
> -DbaseBuilder=~/org.eclipse.releng.basebuilder \
> -Dlauncher=~/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher_1.0.200.v20090429-1630.jar \
> -Declipse.pdebuild.scripts=~/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.5.0.v20090430-1420 \
> -DbuildArch=x86_64 \
> 2>&1 | tee build.log
>
> Don't forget to change x86_64 to your architecture.
>
> Things to note:
>
> - this version uses the bundled copies of the dependencies like JUnit,
> ant, etc.
> - your JDK is assumed to be in "JPackage style" in /usr/lib/jvm/java
> - your JDK is assumed to be 1.6
> - we haven't tested on non-x86{,_64}
> - make sure you have ~3.5 GB disk space available
>
> Next steps we'd love help with:
>
> - bootstrapping the parts of basebuilder needed to run the build so we
> don't need basebuilder :) [3]
> - simplifying the launching [4]
> - some sort of easy way to use the system JARs for the dependencies
> (just over-writing them with symlinks will work) [5]
> - building and running the tests [6]
> - automatically detecting the host architecture [7]
>
> These and our other open bugs are listed here:
>
> http://preview.tinyurl.com/eclipse-build-openbugs
>
> Thanks,
>
> Andrew
>
> [1]
> http://preview.tinyurl.com/eclipse-build-bug
> Please include "[eclipse-build]" in the bug's summary.
>
> [2]
> I hope that the files have propagated to mirrors by the time you read
> this. md5sums:
>
> 2602a3fae7cbf28986b97f46aa706284 eclipse-I20090611-1540-fetched-src.tar.bz2
> 5794e727e05b7efaf9141d959ecc96ee eclipse-build-R0_0_2.tar.gz
>
> [3]
> https://bugs.eclipse.org/214909
> https://bugs.eclipse.org/280685
>
> [4]
> https://bugs.eclipse.org/280686
>
> [5]
> https://bugs.eclipse.org/280688
>
> [6]
> https://bugs.eclipse.org/281270
>
> [7]
> https://bugs.eclipse.org/281271
----- End forwarded message -----
Reply to: