Orbit/Adding Bundles To Orbit In 5 Minutes

From Eclipsepedia

< Orbit
Revision as of 15:27, 22 December 2010 by Hendy.rainbowpurple.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

For the long version See Adding Bundles to Orbit

This is for primarily meant as a guide if you know how to create an orbit bundle, and wish to make a release:

  • Checkout org.eclipse.orbit.releng and org.eclipse.orbit.build.feature.set1
  • Add the plugin to org.eclipse.orbit.build.feature.set1/feature.xml:
  <plugin
        id="org.hamcrest.generator"
        download-size="0"
        install-size="0"
        version="1.1.0.qualifier"
        unpack="false"/>
  • Commit changes to org.eclipse.orbit.build.feature.set1, and tag the feature plugin with the version number. The version format is vYYYYMMDDHHMM in UTC.
  • Tag the bundle(s) that you wish to add to orbit with the same version number you used for tagging org.eclipse.orbit.build.feature.set1. The version format is vYYYYMMDDHHMM in UTC.
  • Add the plugins to org.eclipse.orbit.releng/psf/orbit.psf:
<project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.hamcrest.generator,org.hamcrest.generator_v1.1,v1_1"/> 
  • Add the plugins to org.eclipse.orbit.releng/maps/bundles.map. Use the same version number here that you used for tagging previously.
plugin@org.hamcrest.generator,1.1.0=vYYYYMMDDHHMM,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.orbit/org.hamcrest.generator
plugin@org.hamcrest.generator.source,1.1.0=vYYYYMMDDHHMM,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.orbit/org.hamcrest.generator/source-bundle
  • Change the feature tag in bundles.map (the last line in that file)
feature@org.eclipse.orbit.build.feature.set1=vYYYYMMDDHHMM,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.orbit/org.eclipse.orbit.build.feature.set1
  • Commit all changes in org.eclipse.orbit.releng, and wait for CruiseControl to pick it up.

See Orbit Builds for Orbit Committers.