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 "Xpand/Workspace Setup"

(Here's how to set up your workspace for developing Xpand)
Line 7: Line 7:
 
# Open <tt>org.eclipse.xpand.releng/build.properties</tt> and change them to reflect you local platform (there are uncommented properties for each platform).
 
# Open <tt>org.eclipse.xpand.releng/build.properties</tt> and change them to reflect you local platform (there are uncommented properties for each platform).
 
# Run <tt>org.eclipse.xpand.releng/team/setupworkspace.xml</tt> (it's an ANT script)
 
# Run <tt>org.eclipse.xpand.releng/team/setupworkspace.xml</tt> (it's an ANT script)
#* This will materialize the target platform to <tt>org.eclipse.xtext.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.  
+
#* 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.  
 
#* Point your PDE tooling to the target platform:
 
#* Point your PDE tooling to the target platform:
 
#** Open preferences page Plug-in Development / Target Platform
 
#** Open preferences page Plug-in Development / Target Platform
 
#** Add a new target platform
 
#** Add a new target platform
 
#** Start with an empty definition
 
#** Start with an empty definition
#** Add <tt>org.eclipse.xtext.releng/team/targetplatform/eclipse</tt> on the tab Location.
+
#** Add <tt>org.eclipse.xpand.releng/team/targetplatform/eclipse</tt> on the tab Location.
 
#** 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.
 
#** 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.
 
#** You might also consider specifying a meaningful name for the target platform in the Name field.
 
#** You might also consider specifying a meaningful name for the target platform in the Name field.
 
#* Do not forget to activate the target platform by checking its check mark on the perference page.
 
#* Do not forget to activate the target platform by checking its check mark on the perference page.
 
# Restart Eclipse and you're done.
 
# Restart Eclipse and you're done.

Revision as of 07:50, 30 November 2009

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

  1. Download and install any Eclipse distribution - download
  2. Download and import the Xpand Team Project set file into your workspace.
  3. Open org.eclipse.xpand.releng/build.properties and change them to reflect you local platform (there are uncommented properties for each platform).
  4. Run org.eclipse.xpand.releng/team/setupworkspace.xml (it's an ANT script)
    • This will materialize the target platform to org.eclipse.xpand.releng/team/targetplatform/eclipse, 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.
    • Point your PDE tooling to the target platform:
      • Open preferences page Plug-in Development / Target Platform
      • Add a new target platform
      • Start with an empty definition
      • Add org.eclipse.xpand.releng/team/targetplatform/eclipse on the tab Location.
      • 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.
      • You might also consider specifying a meaningful name for the target platform in the Name field.
    • Do not forget to activate the target platform by checking its check mark on the perference page.
  5. Restart Eclipse and you're done.

Back to the top