|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.milyn.test.ant.AntRunner
public class AntRunner
AntRunner test utility. tom.fennelly@gmail.com
| Constructor Summary | |
|---|---|
AntRunner(InputStream antScript,
String... properties)
Public constructor. |
|
AntRunner(String antScript,
String... properties)
Public constructor. |
|
| Method Summary | |
|---|---|
AntRunner |
run(String target)
Run a target on the Ant Script. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntRunner(String antScript,
String... properties)
throws IOException
antScript parameter is a filename on the classpath,
relative to the caller Class. AntRunner (this) uses the
current Thread's Stack Trace
to determine the calling Class.
antScript - The Ant script to be executed. Classpath resource relative
to the caller Class.properties - Optional Ant properties.
IOException - Error reading Ant Script.
public AntRunner(InputStream antScript,
String... properties)
throws IOException
antScript - The Ant script to be executed.properties - Optional Ant properties.
IOException - Error reading Ant Script.| Method Detail |
|---|
public AntRunner run(String target)
target - The target to run.
this class instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||