ANTXR plugin for Eclipse

This project leverages the Eclipse platform (v2.1) by adding support for the parser generator ANTXR.

It provides the following plugins:

org.antxr
ANTXR 2.7.2 (final) library
com.javadude.antxr.doc
ANTXR 2.7.2 (final) documentation
com.javadude.antxr.eclipse.core
ANTXR project nature with builder
com.javadude.antxr.eclipse.ui
ANTXR-aware text editor (associated to files with extension '*.g')

Features

Installation

Via Eclipse Update Manager

Online updates are available on http://antxreclipse.sourceforge.net/updates/. Define a site bookmark in Eclipse's Update Manager view (Screenshot), navigate to the update site via this bookmark (Screenshot) and install the ANTXR UI feature.

This update site can also be downloaded from SourceForge and used locally.

Manually

Download the archives org.antxr_x.x.x.zip, (optionally) com.javadude.antxr.doc_x.x.x.zip, com.javadude.antxr.eclipse.core_x.x.x.zip and com.javadude.antxr.eclipse.ui_x.x.x.zip from here and unzip them in your Eclipse plugin directory "<eclipse install path>/plugins/".

Usage

To keep Eclipse from copying ANTXR grammar files to the output folder during build you have to add an additional entry ("*.g") to the resource filter in the Java compiler preferences.

To add/remove the ANTXR project nature to/from a project select a project in Eclipse's navigator view and select from the context menu 'Toggle ANTXR project nature'.

You can verify if the project nature is added by examining in the project's properties the list 'External Tool Builders'. Here appears our builder as 'ANTXR Builder'.

If your project is built then this builder automatically starts the ANTXR parser generator for every modified grammar file.


SourceForge Logo