Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Spaces/Building from source"

(New page: The plug-ins and the spaces project update site can be built using [http://www.eclipse.org/buckminster Buckminster]. Here is a step by step instruction on how to do that. Detailed instruct...)
 
Line 2: Line 2:
  
 
=Installing Buckminster=
 
=Installing Buckminster=
See to that you have Buckminster installed. You must have a version where core feature is of 0.3.0.r08434 or later. In addition to the core feature, you will need support for PDE and SVN (Subclipse or Subversive doesn't matter. Pick your favorite but not both).
+
See to that you have Buckminster installed. You must have a version where core feature is of 1.0.0.r08888 or later. In addition to the core feature, you will need support for PDE and SVN (Subclipse or Subversive doesn't matter. Pick your favorite but not both).
  
 
=Getting all the source=
 
=Getting all the source=

Revision as of 17:22, 6 February 2008

The plug-ins and the spaces project update site can be built using Buckminster. Here is a step by step instruction on how to do that. Detailed instructions can be found here.

Installing Buckminster

See to that you have Buckminster installed. You must have a version where core feature is of 1.0.0.r08888 or later. In addition to the core feature, you will need support for PDE and SVN (Subclipse or Subversive doesn't matter. Pick your favorite but not both).

Getting all the source

  1. Use File -> Open a Component Query and enter the following URL: http://www.eclipse.org/spaces/queries/spaces.cquery.
  2. The Buckminster CQUERY opens up. Click on the button Resolve and Materialize. This should bring all projects from the spaces SVN repository into your workspace.

Properties needed for the build

The build will require two properties to be set:

qualifier.replacement.*=generator:lastRevision
generator.lastRevision.format=r{0,number,00000}

and the output can be controlled using a third property:

buckminster.output.root=<a folder of choice>
This property will default to the folder ${user.temp}/buckminster.

There are multiple ways to assign properties to a build. You can either appoint a file that contains these properties when you execute the action (the file build.properties is provided in the org.eclipse.spaces.update project for this purpose), or you can specify them as string substitutions under the Run/Debug preference page.

Builing

  1. Right click on the project org.eclipse.spaces.update
  2. Choose Buckminster
  3. Choose Invoke action...
  4. In the action dialog, select build.site
  5. Enter the name of the properties file (this step is optional if you have your properties defined as string substitutions
  6. Click OK.


That's all folks.

Back to the top