|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.utils.AntBuildInvoker
public class AntBuildInvoker
The class AntBuildInvoker provides a Java utility engine to
invoke ANT targets of a given build file.
| Constructor Summary | |
|---|---|
AntBuildInvoker(File buildFile)
The constructor |
|
| Method Summary | |
|---|---|
void |
invokeDefaultTarget()
Invokes the default target of the build file. |
void |
invokeDefaultTarget(boolean showOutput)
Invokes the default target of the build file. |
void |
invokeTarget(String target)
Invokes the given target of the build file. |
void |
invokeTarget(String target,
boolean showOutput)
Invokes the given target of the build file under the given mode (silent/verbose) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntBuildInvoker(File buildFile)
buildFile - the ANT build file| Method Detail |
|---|
public void invokeDefaultTarget()
throws AntBuildException
AntBuildException - if invoking the target failed
public void invokeDefaultTarget(boolean showOutput)
throws AntBuildException
AntBuildException - if invoking the target failed
public void invokeTarget(String target)
throws AntBuildException
target - the target to be executed
AntBuildException - if invoking the target failed
public void invokeTarget(String target,
boolean showOutput)
throws AntBuildException
target - the target to be executed
AntBuildException - if invoking the target failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||