org.eclipse.jdt.apt.core.build
Class AptBuilder
java.lang.Object
org.eclipse.jdt.apt.core.build.AptBuilder
- All Implemented Interfaces:
- IPlatformRunnable
public class AptBuilder
- extends Object
- implements IPlatformRunnable
Commandline entry point for building a workspace using APT.
Currently cleans and then builds the entire workspace.
Sample commandline invocation:
java -cp %ECLIPSE_HOME%/startup.jar org.eclipse.core.launcher.Main
-noupdate -application org.eclipse.jdt.apt.core.aptBuild -data %WORKSPACE%
Method Summary |
Object |
run(Object args)
Runs this runnable with the given args and returns a result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AptBuilder
public AptBuilder()
run
public Object run(Object args)
throws Exception
- Runs this runnable with the given args and returns a result.
The content of the args is unchecked and should conform to the expectations of
the runnable being invoked. Typically this is a
String
array.
Applications can return any object they like. If an Integer
is returned
it is treated as the program exit code if Eclipse is exiting.
- Specified by:
run
in interface IPlatformRunnable
- Parameters:
args
- the argument(s) to pass to the application
- Returns:
- the return value of the application
- Throws:
Exception
- if there is a problem running this runnable.- See Also:
IPlatformRunnable.EXIT_OK
,
IPlatformRunnable.EXIT_RESTART
,
IPlatformRunnable.EXIT_RELAUNCH
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.