Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "IAM Building"

(How to run a buld in build.eclipse.org)
Line 10: Line 10:
  
 
PDE Build ships with CVS support, but not SVN. You will need to install the SVN support from [http://download.eclipse.org/technology/subversive/0.7/pde-update-site/ Subversive update site].
 
PDE Build ships with CVS support, but not SVN. You will need to install the SVN support from [http://download.eclipse.org/technology/subversive/0.7/pde-update-site/ Subversive update site].
 +
 +
= 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
 +
 +
== Set up ==
 +
Go to IAM work directory
 +
<pre>
 +
cd /shared/technology/iam/builds/dev-tools/builds
 +
</pre>
 +
 +
=== Initial set up ===
 +
Usually, you'll be able to just update the two build projects:
 +
<pre>
 +
svn update dev-tools
 +
svn update pde-build
 +
</pre>
 +
 +
But if you need to start fresh, check out the projects from svn:
 +
<pre>
 +
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
 +
</pre>
 +
... and prepare the builder Eclipse ...
 +
<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
 +
</pre>
 +
 +
'''Note:''' Anonymous http access is used. File access to the svn repo is also available.
 +
 +
=== Rebuild the target platform ===
 +
(This might not be needed if there are no updates to the target platform)
 +
 +
<pre>
 +
cd dev-tools
 +
</pre>
 +
 +
Point the ant script to the base Eclipse SDK (available locally) by creating a `local.properties` file with this content:
 +
 +
<pre>
 +
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
 +
</pre>
 +
 +
Launch the ant script
 +
 +
<pre>
 +
ant -f iam-prep-target-platform.xml reset download
 +
</pre>
 +
 +
'''TODO:''' Most of the components for the target platform are locally available... need to figure a portable way to take advantage of that. ''amuino''.
 +
 +
=== Build IAM ===
 +
 +
<pre>
 +
cd pde-build
 +
</pre>
 +
 +
Launch the build script
 +
 +
<pre>
 +
BUILDER_ECLIPSE_HOME=../eclipse ./runBuild.sh
 +
</pre>
 +
  
 
[[Category:IAM]]
 
[[Category:IAM]]

Revision as of 14:39, 12 March 2009

< To: IAM

IAM Development Environment

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

Setup environment

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

Subversion configuration

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

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

Set up

Go to IAM work directory

cd /shared/technology/iam/builds/dev-tools/builds

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

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

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.

Build IAM

cd pde-build

Launch the build script

BUILDER_ECLIPSE_HOME=../eclipse ./runBuild.sh

Back to the top