Difference between revisions of "Platform-releng-sample-project"

From Eclipsepedia

Jump to: navigation, search
m
Line 8: Line 8:
 
cvs, zip and tar executables. It is recommended that you build on a Linux machine if you are building for Linux platforms.
 
cvs, zip and tar executables. It is recommended that you build on a Linux machine if you are building for Linux platforms.
  
<h4>Create a runtime or sdk feature</h4>
+
<h4>Create a runtime and/or sdk feature</h4>
  
 
+
<h4>Create a a test feature</h4>
<h4>Create a a test plugin or feature</h4>
+
  
 
<h4>Create a map file project</h4>
 
<h4>Create a map file 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>
 
<h4>Create your builder project</h4>

Revision as of 17:03, 15 March 2006

Contents

Sample Releng Project

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.

Draft - Last updated March 15, 2006

Requirements

cvs, zip and tar executables. It is recommended that you build on a Linux machine if you are building for Linux platforms.

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: 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...

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

Platform-releng-basebuilder latest stable tag of org.eclipse.releng.basebuilder

for the latest stable tag.