Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Equinox p2 - Building"
m (Building Provisioning moved to Equinox Provisioning - Building: Renamed to make it easier to find.) |
|||
Line 1: | Line 1: | ||
− | + | This page contains information on how to build the Equinox Provisioning code. | |
− | + | ===Workspace Setup=== | |
− | + | A project has been created in CVS which contains a builder and the build scripts for the new provisioning work. Check out the project from CVS with the following information: | |
− | + | ||
− | + | <pre> | |
+ | server: dev.eclipse.org | ||
+ | repository: /cvsroot/eclipse | ||
+ | project: /equinox-incubator/provisioning/org.eclipse.equinox.prov.releng.builder | ||
+ | </pre> | ||
+ | |||
+ | There is a <code>builder</code> sub-directory which contains an Eclipse install with the minimal bundles required to run the build. It is a Window build and should be replaced with a Linux drop if that is appropriate for the machine that you are running on. | ||
+ | |||
+ | Open the <code>run.xml</code> file for editing. There are a few properties in here that you will have to modify. | ||
+ | |||
+ | <pre> | ||
+ | <property name="prov.root" value="c:" /> | ||
+ | <property name="prov.output.base" value="${prov.root}/equinox.prov.build" /> | ||
+ | <property name="sdk.archive" value="${prov.root}/downloads/eclipse-SDK-3.4M1-win32.zip" /> | ||
+ | <property name="rcp.delta.archive" value="${prov.root}/downloads/eclipse-RCP-3.4M1-delta-pack.zip" /> | ||
+ | <property name="rcp.archive" value="${prov.root}/downloads/eclipse-RCP-3.4M1-win32.zip" /> | ||
+ | <property name="prov.java" value="d:/java/jdk1.5.0_11/jre/bin/java" /> | ||
+ | </pre> | ||
+ | |||
+ | Then from the command-line, run the appropriate build file: either <code>build_win.bat</code> or <code>build_lnx</code>. | ||
+ | ===What Happens=== | ||
+ | # build features for the director, metadata generator, and self-hosting bundles | ||
+ | # build the agent from a product | ||
+ | # generate the metadata for the agent | ||
+ | # run the director and install the agent from the generated metadata and artifacts | ||
+ | # zip up the agent install | ||
+ | # generate the metadata for the self-hosting bundles and Eclipse SDK | ||
===TODO=== | ===TODO=== | ||
− | |||
* integrate with the regular Platform builds | * integrate with the regular Platform builds | ||
− | |||
* write code to determine the output file of the build | * write code to determine the output file of the build | ||
+ | * should enhance so instead of building several different things, we should build one big feature and then use the packager to put together the things that we need | ||
+ | [[Category:Equinox]] | ||
[[Category:Provisioning]] | [[Category:Provisioning]] |
Revision as of 15:47, 23 August 2007
This page contains information on how to build the Equinox Provisioning code.
Workspace Setup
A project has been created in CVS which contains a builder and the build scripts for the new provisioning work. Check out the project from CVS with the following information:
server: dev.eclipse.org repository: /cvsroot/eclipse project: /equinox-incubator/provisioning/org.eclipse.equinox.prov.releng.builder
There is a builder
sub-directory which contains an Eclipse install with the minimal bundles required to run the build. It is a Window build and should be replaced with a Linux drop if that is appropriate for the machine that you are running on.
Open the run.xml
file for editing. There are a few properties in here that you will have to modify.
<property name="prov.root" value="c:" /> <property name="prov.output.base" value="${prov.root}/equinox.prov.build" /> <property name="sdk.archive" value="${prov.root}/downloads/eclipse-SDK-3.4M1-win32.zip" /> <property name="rcp.delta.archive" value="${prov.root}/downloads/eclipse-RCP-3.4M1-delta-pack.zip" /> <property name="rcp.archive" value="${prov.root}/downloads/eclipse-RCP-3.4M1-win32.zip" /> <property name="prov.java" value="d:/java/jdk1.5.0_11/jre/bin/java" />
Then from the command-line, run the appropriate build file: either build_win.bat
or build_lnx
.
What Happens
- build features for the director, metadata generator, and self-hosting bundles
- build the agent from a product
- generate the metadata for the agent
- run the director and install the agent from the generated metadata and artifacts
- zip up the agent install
- generate the metadata for the self-hosting bundles and Eclipse SDK
TODO
- integrate with the regular Platform builds
- write code to determine the output file of the build
- should enhance so instead of building several different things, we should build one big feature and then use the packager to put together the things that we need