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 "Sphinx/environment"

(Install Eclipse)
(Setting the Eclipse environment)
Line 2: Line 2:
  
 
==Setting the Eclipse environment==
 
==Setting the Eclipse environment==
Before getting Sphinx, the first step consists in setting the required Eclipse environment. The principle consists in using a minimal environment for the edition, and an adapted target platform to compile and run Sphinx.
+
The following steps are required to get a minimal developer IDE, an appropriate target platform, and the source code of Sphinx.
  
 
===Install Eclipse===
 
===Install Eclipse===

Revision as of 17:11, 8 January 2013

This page explains how to setup a development environment for Sphinx and get the Sphinx sources.

Setting the Eclipse environment

The following steps are required to get a minimal developer IDE, an appropriate target platform, and the source code of Sphinx.

Install Eclipse

Download and install the latest Eclipse Modeling Tools package.

Git checkout

Git repository configuration

Clone the Sphinx Git repository with the following attributes:

Import the sources

Open the Git Repository Exploring Perspective and imports source projects from your local git repository:

  • Right-click on the git repository
  • Click on Import Projects...

Setting the target platform

Download of the target platform

Sphinx provides target platform definitions for the two last Eclipse releases. These target definitions are in the project org.eclipse.sphinx.targetdefs which is part of the Tools working set.

  • Open the target definition file xxx.target that corresponds to the Eclipse release you want to work with;
  • Wait for the completion of the Resolving Target Definition operation. This may take a while, in particular at the first time, because all directly and indirectly required target platform plug-ins and features are being downloaded or updated as necessary during that operation. If errors occur, try to close and reopen the target definition file so as to re-trigger the target platform resolution;
  • Click on link Set as Target Platform (in the upper right corner of the target editor).

Related bugs

Creating an EMF example library model

The example project that is provided with Sphinx makes use of the library model coming from EMF. Thus, we have to get it to be able to compile everything.

Installing EMF SDK

First, we have to install EMF SDK in the Eclipse environment.

  • Open menu Help/Install New Software...;
  • Select work with Indigo;
  • Install EMF - Eclipse Modeling Framework SDK in Modeling category.

Creating the library model projects

  • Open menu File/New/Example...;
  • Select Eclipse Modeling Framework/Extended Library Model Example;
  • Finish the creation and wait until the workspace has been rebuilt.

Back to the top