
Contents |
The easiest way to install EMFText is using the Eclipse Update Manager. EMFText and its source can also be obtained from SVN.
Tip: install EMFText using the Eclipse Update Manager as described in the next section to resolve the dependencies during the installation process.
EMFText integrates into the Eclipse Platform (v3.4+). Once you have installed Eclipse, you can use its Update Manager to install EMFText and its dependencies.
EMFText depends on (will be automatically installed when using the Eclipse Update Manager):
EMFText makes use of the ANTLR language recognition tool (www.antlr.org) for text parser generation. Versions 2.7.6 and 3.1 of ANTLR is re-distributed with EMFText.
The easiest way to install the current release is to use the Eclipse Update Manager directly from Eclipse.
If you have not installed the Eclipse platform yet. go to http://www.eclipse.org/downloads/ and download the appropriate version for your platform.
After unzipping, start Eclipse and follow these instructions:
Select Help > Software Updates > Find and Install... from Eclipse's menu.
In the next dialog mark Search for new features to install. and continue with next >.
The next step is to configure a New Remote Site... with the following parameters:
Latest Stable Release
Current Snapshot Release
You can also download the current and older releases directly from the archive. After downloading, move the extracted jar files into your Eclipse plugin and feature folders. Note that you will have to install all dependencies manually.
To obtain the latest source, anonymous SVN access is available. Several modules, each representing an Eclipse project, are available. The easiest way to compile the source is to access the SVN repository using Eclipse. To compile the EMFText sources, you need to have all the above mentioned plugins installed. The easiest way to ensure this is to first install EMFText using the update manager as discussed above.
To check out the different modules as Eclipse projects use the following SVN repository location:
http://svn-st.inf.tu-dresden.de/svn/reuseware/trunk/EMFText
Checkout the desired modules from the location.
There is als an Eclipse Team Project (.psf) file which can be used to check out all EMFText plug-ins and languages. See:
http://svn-st.inf.tu-dresden.de/svn/reuseware/trunk/Build/emftext.psf
The module org.reuseware contains a build script to compile the sources. Execute the desired build. The result can be found in the /dist directory.
You can also browse the SVN online.