Difference between revisions of "Platform-releng-sample-project"
m |
|||
Line 9: | Line 9: | ||
<h4>Ingredients</h4> | <h4>Ingredients</h4> | ||
# CVS, Zip and tar executables (for Linux only). | # CVS, Zip and tar executables (for Linux only). | ||
− | # | + | # A Linux machine to build with |
+ | # Test machines to run JUnit tests against. | ||
+ | # JDKs to compile against and run the build. | ||
+ | # | ||
<h4>Create a runtime and/or sdk feature</h4> | <h4>Create a runtime and/or sdk feature</h4> |
Revision as of 17:59, 16 March 2006
Contents
- 1 Sample Releng Project
- 1.1 Ingredients
- 1.2 Create a runtime and/or sdk feature
- 1.3 Create a a test feature
- 1.4 Create a map file project
- 1.5 Create your builder project
- 1.6 Create your build bootstrap script
- 1.7 Create a master ant script controls build from start to finish
- 1.8 Check out org.eclipse.releng.basebuilder
- 1.9 Modify existing publishing scripts or create your own :-)
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
Ingredients
- CVS, Zip and tar executables (for Linux only).
- A Linux machine to build with
- Test machines to run JUnit tests against.
- JDKs to compile against and run the build.
Create a runtime and/or sdk feature
Create a a test feature
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 controls build from start to finish
The platform master script is here...
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
Platform-releng-basebuilder latest stable tag of org.eclipse.releng.basebuilder
for the latest stable tag.