We have a Git repository with the code.
Clone this to create your own local repo:
git clone ssh://git.webvm.net/srv/git/mtj
First install the Eclipse Helios (3.6) RCP release for your platform from here:
http://www.eclipse.org/downloads/
Then install MTJ 1.1.0 by entering the URL of the update site into your update manager:
Help->Install new software
Then enter the following:
http://download.eclipse.org/dsdp/mtj/updates/1.1.0/stable
Now you need to set up a number of Eclipse projects - follow the instructions below.
To create each project in Eclipse, you will need to follow a similar pattern. Unfortunately, the process of setting everything up for the first time is quite convoluted. You need to use the Eclipse wizards to create projects, but these will automatically modify certain files (such as MANIFEST.MF, .classpath, .project files). If those files already exist in the repository you will need to explicitly revert those files because the ones in the repo are correct and the ones generated by the wizards are wrong.
Anyway, follow these steps. (Feel free to augment the instructions if they are not clear enough.)
Some details are slightly different depending on platform.
New->Project->Plugin project
Uncheck “Use default location” and instead browse to the directory in your local working copy of plugins/org.antlr.runtime
Fill in org.antlr.runtime as the Project name
Next
Under “Options”, uncheck “Generate an activator…”
Finish
Close the document in the editor
Revert the modified files back to the version that is in the repo.
Refresh the project in Eclipse
Essentially, the same procedure is needed to add all of the following projects.
Follow steps 1 - 9 as above.
Follow steps 1 - 9 as above.
Follow steps 1 - 9 as above.
Follow steps 1 - 9 as above.
Follow steps 1 - 9 as above.
Run->Run configurations->Eclipse application
Enter “MTJ” or similar for the Name
Run