Top Description Constructors Methods
com.badlogic.gdx.jnigen

public Class BuildExecutor

extends Object
Class Inheritance
Imports
java.io.BufferedReader, .File, .IOException, .InputStreamReader, java.util.ArrayList, .Arrays, .List, java.util.regex.Matcher, .Pattern

Executes an ant script and its targets or an Android NDK build. See AntScriptGenerator.
Author
mzechner

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean

Returns:

whether the Ant succeeded
executeAnt
(String buildFile, String... params)

Execute the Ant script file with the given parameters.

public static void
executeNdk(String directory)

Execute ndk-build in the given directory

private static boolean
startProcess(File directory, String... command)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BuildExecutorback to summary
public BuildExecutor()

Method Detail

executeAntback to summary
public static boolean executeAnt(String buildFile, String... params)

Execute the Ant script file with the given parameters.

Returns:boolean

whether the Ant succeeded

executeNdkback to summary
public static void executeNdk(String directory)

Execute ndk-build in the given directory

startProcessback to summary
private static boolean startProcess(File directory, String... command)