public final class Util
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_LAUNCHER_FILE
Launcher file property
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getBaseDir()
Get base dir
|
static boolean |
isRemoteMode()
Get launcher mode
|
static java.util.Hashtable |
listTargets()
List the targets
|
static java.io.File |
locateLauncher()
locate the file
|
static void |
runTarget(java.lang.String target,
org.apache.tools.ant.DefaultLogger consoleLogger,
TailQueue tailQueue,
org.apache.tools.ant.input.InputHandler inputHandler)
process the program
|
static void |
runTarget(java.lang.String target,
org.apache.tools.ant.DefaultLogger consoleLogger,
TailQueue tailQueue,
org.apache.tools.ant.input.InputHandler inputHandler,
org.apache.tools.ant.BuildListener bl) |
public static final java.lang.String PROPERTY_LAUNCHER_FILE
public static java.util.Hashtable listTargets() throws java.lang.Exception
java.lang.Exception
- a serious problem.public static void runTarget(java.lang.String target, org.apache.tools.ant.DefaultLogger consoleLogger, TailQueue tailQueue, org.apache.tools.ant.input.InputHandler inputHandler) throws java.lang.Exception
target
- the targetconsoleLogger
- the loggertailQueue
- inputHandler
- java.lang.Exception
- a serious problempublic static void runTarget(java.lang.String target, org.apache.tools.ant.DefaultLogger consoleLogger, TailQueue tailQueue, org.apache.tools.ant.input.InputHandler inputHandler, org.apache.tools.ant.BuildListener bl) throws java.lang.Exception
target
- consoleLogger
- tailQueue
- inputHandler
- bl
- java.lang.Exception
public static boolean isRemoteMode() throws java.lang.Exception
java.lang.Exception
- a serious problempublic static java.lang.String getBaseDir() throws java.lang.Exception
java.lang.Exception
- a serious problempublic static java.io.File locateLauncher() throws java.lang.Exception
java.lang.Exception
- a serious problem.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.