processing.app
Class Commander

java.lang.Object
  extended by processing.app.Commander
All Implemented Interfaces:
RunnerListener

public class Commander
extends java.lang.Object
implements RunnerListener

Class to handle running Processing from the command line.

 --help               Show the help text.
 
 --sketch=<name&rt;      Specify the sketch folder (required)
 --output=<name&rt;      Specify the output folder (required and
                      cannot be the same as the sketch folder.)
 
 --preprocess         Preprocess a sketch into .java files.
 --build              Preprocess and compile a sketch into .class files.
 --run                Preprocess, compile, and run a sketch.
 --present            Preprocess, compile, and run a sketch full screen.
 
 --export-applet      Export an applet.
 --export-application Export an application.
 --platform           Specify the platform (export to application only).
                      Should be one of 'windows', 'macosx', or 'linux'.
 
 --preferences=<file&rt; Specify a preferences file to use (optional).
 
To build the command line version, first build for your platform, then cd to processing/build/cmd and type 'dist.sh'. This will create a usable installation plus a zip file of the same.


Constructor Summary
Commander(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void statusError(java.lang.Exception exception)
           
 void statusError(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commander

public Commander(java.lang.String[] args)
Method Detail

main

public static void main(java.lang.String[] args)

statusError

public void statusError(java.lang.String message)
Specified by:
statusError in interface RunnerListener

statusError

public void statusError(java.lang.Exception exception)
Specified by:
statusError in interface RunnerListener