Difference between revisions of "IAM Building"

From Eclipsepedia

Jump to: navigation, search
(How to run a buld in build.eclipse.org)
(Set path to jdk and p2 install of svn-pde-build. Fix path to iam folder)
 
Line 20: Line 20:
  
 
== Set up ==
 
== Set up ==
 +
Before starting, we need java 5 on our path:
 +
<pre>
 +
export PATH=/opt/ibm/ibm-java-jdk-ppc-60/bin/:$PATH
 +
</pre>
 +
 
Go to IAM work directory
 
Go to IAM work directory
 
<pre>
 
<pre>
cd /shared/technology/iam/builds/dev-tools/builds
+
cd /shared/technology/iam/builds/
 
</pre>
 
</pre>
  
Line 40: Line 45:
 
<pre>
 
<pre>
 
tar xzvf /home/data/httpd/download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-SDK-3.4.2-linux-gtk-ppc.tar.gz
 
tar xzvf /home/data/httpd/download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-SDK-3.4.2-linux-gtk-ppc.tar.gz
 +
 +
./eclipse/eclipse -nosplash -consolelog \
 +
  -application org.eclipse.equinox.p2.director.app.application \
 +
  -metadataRepository http://download.eclipse.org/technology/subversive/0.7/pde-update-site/ \
 +
  -artifactRepository http://download.eclipse.org/technology/subversive/0.7/pde-update-site/ \
 +
  -installIU org.eclipse.team.svn.pde.build.feature.group \
 +
  -profileProperties org.eclipse.update.install.features=true
 +
 
</pre>
 
</pre>
  

Latest revision as of 18:55, 12 March 2009

< To: IAM

Contents

[edit] IAM Development Environment

Follow these instructions to get your development environment up and running.

[edit] Setup environment

Follow the instructions at [IAM_Environment] to set up the environment

[edit] Subversion configuration

PDE Build ships with CVS support, but not SVN. You will need to install the SVN support from Subversive update site.

[edit] build.eclipse.org

To build IAM using PDE on the Eclipse build server you need shell access first. Ask the project leads if you really need it.

Currently, these committers have shell access:

  • Abel Muiño
  • Joakim Erdfelt

[edit] Set up

Before starting, we need java 5 on our path:

export PATH=/opt/ibm/ibm-java-jdk-ppc-60/bin/:$PATH

Go to IAM work directory

cd /shared/technology/iam/builds/

[edit] Initial set up

Usually, you'll be able to just update the two build projects:

svn update dev-tools
svn update pde-build

But if you need to start fresh, check out the projects from svn:

svn co http://dev.eclipse.org/svnroot/technology/org.eclipse.iam/trunk/pde-build
svn co http://dev.eclipse.org/svnroot/technology/org.eclipse.iam/trunk/dev-tools

... and prepare the builder Eclipse ...

tar xzvf /home/data/httpd/download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-SDK-3.4.2-linux-gtk-ppc.tar.gz

./eclipse/eclipse -nosplash -consolelog \
  -application org.eclipse.equinox.p2.director.app.application \
  -metadataRepository http://download.eclipse.org/technology/subversive/0.7/pde-update-site/ \
  -artifactRepository http://download.eclipse.org/technology/subversive/0.7/pde-update-site/ \
  -installIU org.eclipse.team.svn.pde.build.feature.group \
  -profileProperties org.eclipse.update.install.features=true

Note: Anonymous http access is used. File access to the svn repo is also available.

[edit] Rebuild the target platform

(This might not be needed if there are no updates to the target platform)

cd dev-tools

Point the ant script to the base Eclipse SDK (available locally) by creating a `local.properties` file with this content:

tarball=/home/data/httpd/download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-SDK-3.4.2-linux-gtk-ppc.tar.gz

Launch the ant script

ant -f iam-prep-target-platform.xml reset download

TODO: Most of the components for the target platform are locally available... need to figure a portable way to take advantage of that. amuino.

[edit] Build IAM

cd pde-build

Launch the build script

BUILDER_ECLIPSE_HOME=../eclipse ./runBuild.sh