NOTE: You will need the latest JRE to run the Resolve compiler.

1.) Install Eclipse (http://www.eclipse.org) and the ANTLR plugin for Eclipse
    (http://antlreclipse.sourceforge.net).
2.) In the Eclipse menubar, choose "File" -> "New" -> "Project..."
3.) Choose "Java Project" and hit Next
4.) Give the project a name and make sure the following are selected and hit
    Finish:
	- "Create new project in workspace"
	- "Use default JRE" (should be 1.5.X)
	- "Use separate source and output folders"
5.) Right-click on the "src" folder within the new project and choose
    "Import..."
6.) Select "CVS" -> "Projects from CVS" and hit Next
7.) On the next screen fill in the following info and hit Next:
	- Host: blade5.cs.clemson.edu (or any other blade/torpedo/etc. machine)
	- Repository Path: /home/resolve/scw/cvsroot
	- Your CS user id and password (as long as you have been given rights)
	- Connection type: extssh
8.) Choose "Use an existing module...", navigate the tree to select the folder
    r2jt/src/edu, and hit Next
9.) Choose "Checkout into an existing project", make sure "Checkout subfolders
    is checked", and hit Next
10.) Highlight the "src" folder within the new project you just created and
     hit Finish
11.) Right-click on the folder of the project you just created (not the "src")
     folder and select "Properties"
12.) On the side menu, highlight "Java Build Path", and select the "Libraries"
     tab
13.) Click on "Add external JARs..." and add the following files:
	- antlr.jar
	- commons-logging.jar
	- log4j.jar
	- one-jar-boot.jar
14.) Apply the changes and hit OK
15.) Right-click on the folder of the project again and select "Run As" ->
     "Run..."
16.) On the side menu, highlight "Java Application" -> "Main"
17.) Under the "Main" tab fill in the following information:
	- Project: (the name of your project)
	- Main class: edu.clemson.cs.r2jt.Main
18.) Under the "Arguments" tab you would fill in this info if you were compiling
     Stack_Template.co:
	- Program arguments: (any arguments to the compiler, i.e. "Stack_Template.co
	  -translate +bodies")
	- Working directory: the path to the folder on your machine that contains
	  Stack_Template.co
19.) Hit "Close" to save that information
20.) To compile the Resolve grammar find the package "edu.clemson.cs.r2jt.parsing"
     in your project
21.) Highlight each of the following files (in this order), right-click on them,
     and select "Compile ANTLR Grammar"
	- RLexer.g
	- RParser.g
	- RBuilder.g
	- RWalker.g
If one or more of the newly generated files shows an error it is because of a
dependancy problem on one of the other grammar files.  Try recompiling the file(s)
with the errors.

You should now be able to run the Resolve compiler.  You may also want to down-
load the examples directory (available in CVS under "r2jt/examples").  You can
create a new project and use "Import from CVS" as above to create a project of
examples that you can add to/update as necessary.