[an error occurred while processing this directive]

Compiling and Running the Sample Java Implementation

You need JDOM to compile and run the sample code.
  1. Download Tpmm.java. Save it to a directory called Tpmm.
  2. Compile the program: In the Tpmm directory, run javac -classpath /path-to-jDOM/jdom.jar Tpmm.java.
  3. Run the compiled program. For example, to create a new project using the Extreme Programming method, on an empty project file:
    1. cd ..
    2. java -cp .:/path-to-jDOM/jdom.jar Tpmm.Tpmm file://`pwd`/ExtremeProgramming.xml file://`pwd`/emptyproj.xml
    When the PMM finishes, the project instance is sent to the standard output as a Planner file.
  4. To stop the PMM and save the project instance as a file, enter 'q' at any point the program requests input. The project instance is written to standard output.
  5. You can restart the PMM on the saved project instance. For example: to use the Extreme Programming method on an existing project file:
    java Tpmm.Tpmm file://`pwd`/ExtremeProgramming.xml file://`pwd`/currentproject.xml
Back to the index
Licensing for the above files.

Last modified: Sun Jan 30 2005