| java.lang.Object org.tigris.scarab.actions.setup.AntRunner
AntRunner | public class AntRunner (Code) | | This class is the bridge to ant.
Most of the code is derived form the
org.apache.ant.Main class, but simplyfied for
our purposes. i.e. you can only run one single
ant task per call. Also most of the configuration
properties available in the original class have
been dropped to keep the bridge small.
We could have used the ant Main class directly,
but i think, having control over what happens
here is better (i.e. where does out and err go,
how do we log, etc...)
author: Hussayn Dabbous version: $Id: AntRunner.java 9325 2004-12-22 22:48:10Z dabbous $ |
Method Summary | |
protected void | addBuildListener(Project project) | public void | execute(File theBuildFile, String theTarget, Map properties) Execute the given target in the given buildFile.
If target is null, the default target is executred.
theBuildfile must NOT be null. | public static void | main(String[] args) |
addBuildListener | protected void addBuildListener(Project project)(Code) | | |
execute | public void execute(File theBuildFile, String theTarget, Map properties)(Code) | | Execute the given target in the given buildFile.
If target is null, the default target is executred.
theBuildfile must NOT be null. and readable in the
current sessoin context.
Currently no exception handling. Every Exception is
rethrown.
Parameters: theBuildFile - Parameters: theTarget - |
|
|