public class AntRunner
- extends java.lang.Object
Run any ant task from Java.
Any java class can call this utility class and add specific Task initialization.
The steps are:
- Create AntRunner
- Call setupTask(taskname)
- Perform any Task subclass-specific initialization that makes your Task do it's job
- Tell the runner to run the task.
AntRunner run = new AntRunner() ;
Task task = run.setupTask("cvs") ;
Cvs cvs = (Cvs)task;
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2001-2013 DYNAMIDE.COM. All Rights Reserved.