public class AntRunner extends Object
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.Copyright © 2020. All rights reserved.