Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Xpand/Workspace Setup"

(Here's how to set up your workspace for developing Xpand)
Line 2: Line 2:
  
 
# Download and install any Eclipse distribution - [http://download.eclipse.org/eclipse/downloads/ download]
 
# Download and install any Eclipse distribution - [http://download.eclipse.org/eclipse/downloads/ download]
# Download and import the Xpand Team Project set file into your workspace.
+
# Import the Xpand Team Project set file into your workspace (File / Import / Team / Team Project Set / URL).
#* [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2t/org.eclipse.xpand.releng/team/projectset/extssh/projectset.psf?root=Modeling_Project&view=co extssh (for Eclipse committers)]   
+
#* [http://git.eclipse.org/c/m2t/org.eclipse.xpand.git/plain/dev/org.eclipse.xpand.devenv/Xpand-Committer.psf Xpand-Committer.psf (for Eclipse committers)]   
#* [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2t/org.eclipse.xpand.releng/team/projectset/pserver/projectset.psf?root=Modeling_Project&view=co pserver (for anonymous access)]
+
#* [http://git.eclipse.org/c/m2t/org.eclipse.xpand.git/plain/dev/org.eclipse.xpand.devenv/Xpand.psf Xpand.psf (for anonymous access)]
# Open <tt>org.eclipse.xpand.releng/build.properties</tt> and change them to reflect you local platform (there are uncommented properties for each platform).
+
# Install Buckminster Headless
# Run <tt>org.eclipse.xpand.releng/team/setupworkspace.xml</tt> (it's an ANT script)
+
#* Select org.eclipse.xpand.releng / Install Buckminster.launch
#* This will materialize the target platform to <tt>org.eclipse.xpand.releng/team/targetplatform/eclipse</tt>, and generate / update some other artifacts (e.g. test suites, team project sets, project settings). Note that downloading the Eclipse SDK and the ZIPs of the dependencies might take some time, so you might want to set an alternative faster URL in the build.properties.
+
#* Open context menu: Run As / Install Buckminster
#* Download [http://download.eclipse.org/tools/cdt/releases/galileo/plugins/org.eclipse.cdt.core_5.1.1.200909110608.jar org.eclipse.cdt.core] and put it manually into the plugins folder of your materialized target platform. This plugin jar is not fetched by the script (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=297401 Bug#297401]).
+
#* This will download and install Buckminster to Select org.eclipse.xpand.releng/buckminster
#* Point your PDE tooling to the target platform:
+
# Run Buckminster local build
#** Open preferences page Plug-in Development / Target Platform
+
#* Select org.eclipse.xpand.releng/releng/local/local-build.ant
#** Add a new target platform
+
#* Run the Ant script with Context: Run As / Ant Build
#** Start with an empty definition
+
#* Grap a coffee...
#** Add <tt>org.eclipse.xpand.releng/team/targetplatform/eclipse</tt> on the tab Location.
+
#* Buckminster will install the Xpand target platform to org.eclipse.xpand.releng/target/target.platform
#** Be sure to configure your OS environment properly on the Environment tab. You'll at least have to specify your OS, windowing system and architecture.
+
# Set Target Platform
#** You might also consider specifying a meaningful name for the target platform in the Name field.
+
#* Open org.eclipse.xpand.devenv/Xpand TP Local.target
#* Do not forget to activate the target platform by checking its check mark on the perference page.
+
#* Click "Set as Target Platform"
# Restart Eclipse and you're done.
+
# Start Xpand Runtime
 +
#* Run the launch config org.eclipse.xpand.devenv/Xpand Runtime.launch
  
 
[[Category:Xpand]]
 
[[Category:Xpand]]

Revision as of 08:16, 15 February 2013

Here's how to set up your workspace for developing Xpand

  1. Download and install any Eclipse distribution - download
  2. Import the Xpand Team Project set file into your workspace (File / Import / Team / Team Project Set / URL).
  3. Install Buckminster Headless
    • Select org.eclipse.xpand.releng / Install Buckminster.launch
    • Open context menu: Run As / Install Buckminster
    • This will download and install Buckminster to Select org.eclipse.xpand.releng/buckminster
  4. Run Buckminster local build
    • Select org.eclipse.xpand.releng/releng/local/local-build.ant
    • Run the Ant script with Context: Run As / Ant Build
    • Grap a coffee...
    • Buckminster will install the Xpand target platform to org.eclipse.xpand.releng/target/target.platform
  5. Set Target Platform
    • Open org.eclipse.xpand.devenv/Xpand TP Local.target
    • Click "Set as Target Platform"
  6. Start Xpand Runtime
    • Run the launch config org.eclipse.xpand.devenv/Xpand Runtime.launch

Back to the top