Chapter 2. Running the Compiler

Table of Contents

Command Line Invocation
Using the Compiler as an Ant Task
Dependency Tracking
Code Generation Targets
Specifying Compiler Options

This section describes how to invoke the compiler. It assumes that the compiler and its prerequisites have been correctly installed.

Command Line Invocation

The distribution comes with scripts to launch the compiler from the command line. As long as the distribution directory is referenced in your CLASSPATH environment variable you can invoke the compiler from a Windows or Unix command line through the command rsp.

You can invoke the compiler directly through Java, e.g. java -jar /usr/local/rsp/rsp.jar (assuming a default Unix installation).