Using proparse.jar with Java or JVM scripting

Download
You can find a pre-built proparse.jar on Joanju's Proparse page at
joanju.com/proparse/.

Configuration for Project Settings
See Project Config. Dump for a script which creates a prorefactor project settings directory.

Disc Space
Proparse may write very large amounts of data to into the 'prorefactor' sub-directory of your working directory. If your application is very large, then this could be as much as a few GB. See PUB Files for more information.

Setting Up Scripting

This section assumes you will be using Groovy for scripting, but other JVM scripting languages will be similar.

  1. Install the latest version of Groovy (assuming you have Java installed): groovy.codehaus.org
  2. Open a command line prompt. Change to your working directory (the one that contains the 'prorefactor' subdirectory). Test that groovy runs OK with: groovy --version
  3. Make sure your CLASSPATH environment variable contains proparse.jar. For example, on Windows you might use:

    set CLASSPATH=src;bin;proparse.jar

    assuming proparse.jar is in the working directory. (On Linux or unix, use ':' instead of ';' to separate classpath entries.)