|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.service.dashboard.SimpleAnt
public class SimpleAnt
A wrapper that invokes Ant on a build.xml file in the
current directory. It does not upport any command-line options. The
main method is startAnt(java.lang.String[], java.util.Properties)
that takes an array of Ant
targets, and optionally a list of additional properties.
This is a simplified version of the original Ant's org.apache.tools.ant.Main file. It is used in the Biomoby Dashboard project.
Constructor Summary | |
---|---|
SimpleAnt()
Default constructor. |
Method Summary | |
---|---|
void |
addBuildListener(org.apache.tools.ant.BuildListener listener)
|
void |
removeBuildListener(org.apache.tools.ant.BuildListener listener)
|
void |
setAllowInput(boolean enabled)
|
void |
setMsgOutputLevel(int level)
|
void |
startAnt(String[] newTargets,
Properties additionalUserProperties)
Start Ant to execute given targets, possibly using additional properties. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleAnt()
Method Detail |
---|
public void setAllowInput(boolean enabled)
public void setMsgOutputLevel(int level)
public void addBuildListener(org.apache.tools.ant.BuildListener listener)
public void removeBuildListener(org.apache.tools.ant.BuildListener listener)
public void startAnt(String[] newTargets, Properties additionalUserProperties) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |