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 "Teneo/Teneo Build Setup"

(Try it)
(Try it)
Line 5: Line 5:
 
== Try it ==
 
== Try it ==
  
The Teneo build setup has made it quite easy to do a Teneo build. To download and do a build you need to do the following steps:
+
The Teneo build setup has made it quite easy to do a Teneo build. To download Teneo and do a build (building, testing, generating p2 site) you need to do the following steps:
 
<source lang="bash">
 
<source lang="bash">
cvs -d dev.eclipse.org:/cvsroot/modeling co -d org.eclipse.emf.teneo.releng.buckminster org.eclipse.emf/org.eclipse.emf.teneo/releng/org.eclipse.emf.teneo.releng.buckminster
+
cvs -d dev.eclipse.org:/cvsroot/modeling co -d org.eclipse.emf.teneo.releng.buckminster \
 +
org.eclipse.emf/org.eclipse.emf.teneo/releng/org.eclipse.emf.teneo.releng.buckminster
 
cd org.eclipse.emf.teneo.releng.buckminster
 
cd org.eclipse.emf.teneo.releng.buckminster
 
ant -f build_teneo.xml
 
ant -f build_teneo.xml
 
</source>
 
</source>
 +
Note the above assumes that ant is installed and that JAVA_HOME is set to Java 5.0 or higher.
 +
 +
After about 20 minutes you will see a builds folder with a subfolder containing the build results:
 +
* build: contains the targetplatform for building the main plugins and the build workspace itself
 +
* test: contains the targetplatform for testing, the workspace contains the workspace used for the test projects.
 +
* result: contains the generation result (p2 site) and the test results.
 +
 +
The build workspace (build/workspace) and test workspace (test/workspace) can be opened in Eclipse as workspaces.
  
 
== Main builds steps (build, generate, test) ==
 
== Main builds steps (build, generate, test) ==

Revision as of 05:29, 7 February 2010

This page describes the Teneo build setup. Teneo uses Buckminster and Hudson for its continuous build infrastructure.

Try it

The Teneo build setup has made it quite easy to do a Teneo build. To download Teneo and do a build (building, testing, generating p2 site) you need to do the following steps:

cvs -d dev.eclipse.org:/cvsroot/modeling co -d org.eclipse.emf.teneo.releng.buckminster \
org.eclipse.emf/org.eclipse.emf.teneo/releng/org.eclipse.emf.teneo.releng.buckminster
cd org.eclipse.emf.teneo.releng.buckminster
ant -f build_teneo.xml

Note the above assumes that ant is installed and that JAVA_HOME is set to Java 5.0 or higher.

After about 20 minutes you will see a builds folder with a subfolder containing the build results:

  • build: contains the targetplatform for building the main plugins and the build workspace itself
  • test: contains the targetplatform for testing, the workspace contains the workspace used for the test projects.
  • result: contains the generation result (p2 site) and the test results.

The build workspace (build/workspace) and test workspace (test/workspace) can be opened in Eclipse as workspaces.

Main builds steps (build, generate, test)

The main build steps for Teneo are:

  1. build the main deliverables:
    1. download the development projects from CVS and use them to create a workspace with a target platform
    2. download/retrieve the dependencies and set them in the targetplatform
    3. build the software (compile etc.)
    4. build the update site
    5. create downloadable zips
  2. build the test projects:
    1. download the development test projects from CVS and use them to create a workspace with a target platform
    2. download/retrieve the dependencies and set them in the targetplatform. This includes the artifacts generated in the previous steps
    3. build/compile the test plugins
  3. run the test cases

The build itself is done by an ant script which calls buckminster to perform the above steps. The ant script also take care of copying the output (p2 site and features/plugins) and creating zip files etc.

Back to the top