Package de.tsl2.nano.execution
Class ScriptUtil
java.lang.Object
de.tsl2.nano.core.execution.SystemUtil
de.tsl2.nano.execution.ScriptUtil
public class ScriptUtil
extends de.tsl2.nano.core.execution.SystemUtil
Util to start ant scripts
- Version:
- $Revision$
- Author:
- Thomas Schneider
-
Field Summary
Fields inherited from class de.tsl2.nano.core.execution.SystemUtil
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final booleanant(String filePath, String target, Properties properties) starts an ant scriptstatic final voidantbuild(String filePath, String target, Properties properties) static final voidantbuild(String filePath, String target, Properties properties, org.apache.tools.ant.BuildListener buildListener) static final voidMethods inherited from class de.tsl2.nano.core.execution.SystemUtil
createBatchStream, createInfo, execute, execute, execute, execute, executeAndGetOutput, executeRegisteredLinuxBrowser, executeRegisteredWindowsPrg, executeShell, executeShell, getExecutionOutput, isNestedApplicationStart, isThreadChildOfSystemThread, runAsRoot, runShutdownHooks, setPipedInput, softExitOnCurrentThreadGroup
-
Constructor Details
-
ScriptUtil
public ScriptUtil()
-
-
Method Details
-
ant
starts an ant script- Parameters:
filePath- build filetarget- targetproperties- properties- Returns:
- true, if build was successful
-
antbuild
-
antbuild
public static final void antbuild(String filePath, String target, Properties properties, org.apache.tools.ant.BuildListener buildListener) -
main
-