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 "Platform-releng-sample-project"

m
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<h3>Sample Releng Project</h3>
 
<h3>Sample Releng Project</h3>
  
This document describes how you can use the example of the releng projects to run your build in a similar manner to the platform builds.
+
This document describes the recipe ingredients you need to assemble to run your build in a similar manner to the  
 +
platform builds.  The assumption is that that you have already created plugins and features that you would like to contribute to the build.
  
<b>Draft - Last updated Feb 14, 2006</b>
 
  
<h4>Requirements</h4>
+
<b>Draft - Last updated March 16, 2006. </b>  
CVS
+
<i>This document is a work in progress, we just moved to a new grouped builds process the week of March 17, 2006</i>
ZIP and tar
+
  
 
+
<h4>Ingredients</h4>
<h4>Create a a test feature and a sdk-feature</h4>
+
# CVS, Zip and tar executables.
 +
# A Linux build machine.
 +
# JUnit or Performance Test machines.
 +
# JDKs to compile against and run the build.
 +
# A runtime and/or sdk feature
 +
# A test feature
 +
# A map file project
 +
# A builder project that includes files to feed PDE Build: build.properties and customTargets.xml, packaging scripts if required
 +
# Build bootstrap script
 +
# A master ant script to control the build from start to finish
 +
# The org.eclipse.releng.basebuilder project from dev.eclipse.org:/cvsroot/eclipse
 +
# Publishing scripts
 +
# Infrastructure to distribute your build.
  
 
<h4>Create a map file project</h4>
 
<h4>Create a map file project</h4>
  
<h4>Create your build project</h4>
+
For example,
 +
plugin@org.eclipse.plugin1=v20060314-0800,:pserver:anonymous@yourserver.com:/your/cvsroot,
 +
plugin@org.eclipse.plugin2=v20060317-0800,:pserver:anonymous@yourserver.com:/your/cvsroot,
 +
plugin@org.eclipse.plugin3=v20060318-1200,:pserver:anonymous@yourserver.com:/your/cvsroot,
 +
feature@org.eclipse.feature1=v20060321-1330:pserver:anonymous@yourserver.com:/your/cvsroot,
 +
 
 +
<h4>Create your builder project</h4>
 
Define build.properties and customTargets.xml to feed PDE Build.
 
Define build.properties and customTargets.xml to feed PDE Build.
  
Line 20: Line 37:
  
 
Example:
 
Example:
 +
[[Platform-releng-sample-bootstrap]]
 +
 +
Actual platform bootstrap script is here
 
http://dev.eclipse.org/viewcvs/index.cgi/*checkout*/org.eclipse.releng.eclipsebuilder/Attic/bootstrap.sh?rev=1.1.2.6&only_with_tag=releng_test&content-type=text/plain
 
http://dev.eclipse.org/viewcvs/index.cgi/*checkout*/org.eclipse.releng.eclipsebuilder/Attic/bootstrap.sh?rev=1.1.2.6&only_with_tag=releng_test&content-type=text/plain
  
<h4>Create a master ant script controls build from start to finish</h4>
+
<h4>Create a master ant script that controls build from start to finish</h4>
  
 
The platform master script is here...
 
The platform master script is here...
Line 29: Line 49:
  
 
<h4>Check out org.eclipse.releng.basebuilder</h4>
 
<h4>Check out org.eclipse.releng.basebuilder</h4>
cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co org.eclipse.releng.basebuilder
+
<tt>cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co org.eclipse.releng.basebuilder</tt>
  
We recommend that you use the latest stable tag.  Look here
+
We recommend that you use the latest stable tag.  Look here [[Platform-releng-basebuilder|latest stable tag of org.eclipse.releng.basebuilder]] for the latest stable tag.
  
[[Platform-releng-basebuilder latest stable tag of org.eclipse.releng.basebuilder]]
+
<h4>Modify existing publishing scripts or create your own :-) </h4>
  
for the latest stable tag.
+
[[Category:Eclipse_Platform_Releng| ]]

Revision as of 19:32, 15 March 2012

Sample Releng Project

This document describes the recipe ingredients you need to assemble to run your build in a similar manner to the platform builds. The assumption is that that you have already created plugins and features that you would like to contribute to the build.


Draft - Last updated March 16, 2006. This document is a work in progress, we just moved to a new grouped builds process the week of March 17, 2006

Ingredients

  1. CVS, Zip and tar executables.
  2. A Linux build machine.
  3. JUnit or Performance Test machines.
  4. JDKs to compile against and run the build.
  5. A runtime and/or sdk feature
  6. A test feature
  7. A map file project
  8. A builder project that includes files to feed PDE Build: build.properties and customTargets.xml, packaging scripts if required
  9. Build bootstrap script
  10. A master ant script to control the build from start to finish
  11. The org.eclipse.releng.basebuilder project from dev.eclipse.org:/cvsroot/eclipse
  12. Publishing scripts
  13. Infrastructure to distribute your build.

Create a map file project

For example,

plugin@org.eclipse.plugin1=v20060314-0800,:pserver:anonymous@yourserver.com:/your/cvsroot,
plugin@org.eclipse.plugin2=v20060317-0800,:pserver:anonymous@yourserver.com:/your/cvsroot,
plugin@org.eclipse.plugin3=v20060318-1200,:pserver:anonymous@yourserver.com:/your/cvsroot,
feature@org.eclipse.feature1=v20060321-1330:pserver:anonymous@yourserver.com:/your/cvsroot,

Create your builder project

Define build.properties and customTargets.xml to feed PDE Build.

Create your build bootstrap script

Example: Platform-releng-sample-bootstrap

Actual platform bootstrap script is here http://dev.eclipse.org/viewcvs/index.cgi/*checkout*/org.eclipse.releng.eclipsebuilder/Attic/bootstrap.sh?rev=1.1.2.6&only_with_tag=releng_test&content-type=text/plain

Create a master ant script that controls build from start to finish

The platform master script is here...

http://dev.eclipse.org/viewcvs/index.cgi/*checkout*/org.eclipse.releng.eclipsebuilder/Attic/buildAll.xml?rev=1.1.2.7&only_with_tag=releng_test&content-type=text/plain

Check out org.eclipse.releng.basebuilder

cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co org.eclipse.releng.basebuilder

We recommend that you use the latest stable tag. Look here latest stable tag of org.eclipse.releng.basebuilder for the latest stable tag.

Modify existing publishing scripts or create your own :-)

Back to the top