Method Summary |
|
public void | execute(Project project) Execute the Java class against the specified Ant Project. |
public int | fork(ProjectComponent pc) Run the Java command in a separate VM, this does not give you
the full flexibility of the Java task, but may be enough for
simple needs.
Parameters: pc - the ProjectComponent to use for logging, etc. |
public synchronized boolean | killedProcess() Get whether the process was killed. |
public void | run() Run this ExecuteJava in a Thread. |
public void | setClasspath(Path p) Set the classpath to be used when running the Java class. |
public void | setJavaCommand(Commandline javaCommand) Set the Java "command" for this ExecuteJava. |
public void | setOutput(PrintStream out) Set the stream to which all output (System.out as well as System.err)
will be written. |
public void | setPermissions(Permissions permissions) Set the permissions for the application run. |
public void | setSystemProperties(CommandlineJava.SysProperties s) Set the system properties to use when running the Java class. |
public void | setTimeout(Long timeout) Set the timeout for this ExecuteJava. |
public static void | setupCommandLineForVMS(Execute exe, String[] command) On VMS platform, we need to create a special java options file
containing the arguments and classpath for the java command. |
public synchronized void | timeoutOccured(Watchdog w) Mark timeout as having occurred. |