Package org.robovm.compiler
Class AppCompiler
java.lang.Object
org.robovm.compiler.AppCompiler
public class AppCompiler extends Object
- Version:
- $Id$
-
Field Summary
Fields Modifier and Type Field Description static StringCLASSPATHS_FILENAMEName of the file that contains the dependencies between classpath and Main binary -
Constructor Summary
Constructors Constructor Description AppCompiler(Config config) -
Method Summary
Modifier and Type Method Description voidarchive()Archives the binary previously built usingbuild()along with all resources specified in theConfigand supporting files and stores the archive in theConfig.getInstallDir().voidbuild()Builds the binary (possibly a fat binary with multiple archs).Set<Clazz>compile(Set<Clazz> rootClasses, boolean compileDependencies, ClassCompilerListener listener)ConfiggetConfig()voidinstall()Installs the binary previously built usingbuild()along with all resources specified in theConfigand supporting files into theConfig.getInstallDir().intlaunch(LaunchParameters launchParameters)intlaunch(LaunchParameters launchParameters, InputStream inputStream)ProcesslaunchAsync(LaunchParameters launchParameters)ProcesslaunchAsync(LaunchParameters launchParameters, InputStream inputStream)voidlaunchAsyncCleanup()static voidmain(String[] args)
-
Field Details
-
CLASSPATHS_FILENAME
Name of the file that contains the dependencies between classpath and Main binary- See Also:
- Constant Field Values
-
-
Constructor Details
-
AppCompiler
-
-
Method Details
-
getConfig
-
compile
public Set<Clazz> compile(Set<Clazz> rootClasses, boolean compileDependencies, ClassCompilerListener listener) throws IOException- Throws:
IOException
-
main
- Throws:
IOException
-
build
Builds the binary (possibly a fat binary with multiple archs).- Throws:
IOException
-
archive
Archives the binary previously built usingbuild()along with all resources specified in theConfigand supporting files and stores the archive in theConfig.getInstallDir().- Throws:
IOException
-
install
Installs the binary previously built usingbuild()along with all resources specified in theConfigand supporting files into theConfig.getInstallDir().- Throws:
IOException
-
launch
- Throws:
Throwable
-
launch
- Throws:
Throwable
-
launchAsync
- Throws:
Throwable
-
launchAsync
public Process launchAsync(LaunchParameters launchParameters, InputStream inputStream) throws Throwable- Throws:
Throwable
-
launchAsyncCleanup
public void launchAsyncCleanup()
-