Jump to: navigation, search

Difference between revisions of "Orbit/Adding Bundles To Orbit In 5 Minutes"

(Added a shorter version for new comers)
 
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
This is for primarily meant as a guide if you know how to create an orbit bundle, and wish to make a release:
 
This is for primarily meant as a guide if you know how to create an orbit bundle, and wish to make a release:
  
* Checkout the org.eclipse.orbit.releng and org.eclipse.feature.set1
+
* Checkout <code>org.eclipse.orbit.releng</code> and <code>org.eclipse.orbit.build.feature.set1</code>
  
* Add the plugin to feature.xml:
+
* Add the plugin to <code>org.eclipse.orbit.build.feature.set1/feature.xml</code>:
 
   <plugin
 
   <plugin
 
         id="org.hamcrest.generator"
 
         id="org.hamcrest.generator"
Line 13: Line 13:
 
         unpack="false"/>
 
         unpack="false"/>
  
* Commit changes to org.eclipse.orbit.build.feature.set1, and tag the feature plugin with the version number. The version format is <code>vYYYYMMDD-HHMM</code> in UTC.
+
* Commit changes to org.eclipse.orbit.build.feature.set1, and tag the feature plugin with the version number. The version format is <code>vYYYYMMDDHHMM</code> in UTC.
  
* Tag the bundle(s) that you wish to add to orbit with the version number. The version format is <code>vYYYYMMDD-HHMM</code> in UTC.
+
* Tag the bundle(s) that you wish to add to orbit with the same version number you used for tagging <code>org.eclipse.orbit.build.feature.set1</code>. The version format is <code>vYYYYMMDDHHMM</code> in UTC.
  
* Add the plugins to orbit.psf:
+
* Add the plugins to <code>org.eclipse.orbit.releng/psf/orbit.psf</code>:
 
  <project reference="1.0,:extssh:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbit/org.hamcrest.generator,org.hamcrest.generator_v1.1,v1_1"/>  
 
  <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 bundles.map
+
* Add the plugins to <code>org.eclipse.orbit.releng/maps/bundles.map</code>. Use the same version number here that you used for tagging previously.
  plugin@org.hamcrest.generator,1.1.0=v20090302-0400,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.orbit/org.hamcrest.generator
+
  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=v20090302-0400,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.orbit/org.hamcrest.generator/source-bundle
+
  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)
+
* Change the feature tag in <code>bundles.map</code> (the last line in that file)
  feature@org.eclipse.orbit.build.feature.set1=v20090302-1910,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.orbit/org.eclipse.orbit.build.feature.set1
+
  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 [http://build.eclipse.org:9777/dashboard/tab/dashboard CruiseControl] to pick it up.
+
* Commit all changes in <code>org.eclipse.orbit.releng</code>, and wait for [http://build.eclipse.org:9777/dashboard/tab/dashboard CruiseControl] to pick it up.
  
 
See [[Orbit_Builds#Orbit_Builds_for_Orbit_Committers | Orbit Builds for Orbit Committers]].
 
See [[Orbit_Builds#Orbit_Builds_for_Orbit_Committers | Orbit Builds for Orbit Committers]].
  
 
[[Category: Orbit]]
 
[[Category: Orbit]]

Latest revision as of 14:27, 22 December 2010

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.