Difference between revisions of "Orbit Source Bundles In Your Build"

From Eclipsepedia

Jump to: navigation, search
m
Line 1: Line 1:
Typically source features are being generated as part of the build, find the build.properties requesting the creation of the source feature (it usually appears in the build.properties of the SDK feature including your source feature) and append an entry for each of the source plug-in you are re-consumming from Orbit to the generate@ property.
+
Typically source features are being generated as part of the build.  To change your build to consume Orbit source bundles, you will need to find the build.properties requesting the creation of the source feature (it usually appears in the build.properties of the SDK feature including your source feature) and append an entry for each of the source plug-in you are re-consuming from Orbit to the generate@ property.
 
The format of these entry is:
 
The format of these entry is:
 
<pre>
 
<pre>
Line 11: Line 11:
 
                                               plugin@javax.servlet.jsp.source;version=2.0.0.qualifier;unpack="true"
 
                                               plugin@javax.servlet.jsp.source;version=2.0.0.qualifier;unpack="true"
 
</pre>
 
</pre>
 +
 +
Of course, you will also need to update your map files as appropriate to reference the Orbit source bundles.  For example, note the Orbit source bundles in the Eclipse project
 +
[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.releng/maps/orbit.map?revision=1.34&view=markup map]
 +
 
[[Category : Orbit]]
 
[[Category : Orbit]]

Revision as of 17:39, 28 May 2007

Typically source features are being generated as part of the build. To change your build to consume Orbit source bundles, you will need to find the build.properties requesting the creation of the source feature (it usually appears in the build.properties of the SDK feature including your source feature) and append an entry for each of the source plug-in you are re-consuming from Orbit to the generate@ property. The format of these entry is:

	plugin@<pluginId>;version=<pluginVersion>.qualifier;unpack=true

For example, the build.properties of the org.eclipse.sdk feature has now the following format

	generate@org.eclipse.platform.source = org.eclipse.platform,\ 
                                               plugin@javax.servlet.source;version=2.4.0.qualifier;unpack="true",\
                                               plugin@javax.servlet.jsp.source;version=2.0.0.qualifier;unpack="true"

Of course, you will also need to update your map files as appropriate to reference the Orbit source bundles. For example, note the Orbit source bundles in the Eclipse project map