1.

How To Use Runtime In Ant?

Answer»

You don't NEED to use Runtime etc. ANT have exec task. The class name is org.apache .tools.ant. taskdefs. ExecTask. You can create the task by USING the CODE in your CUSTOMIZED ant Task.
ExecTask compile = (ExecTask)project.createTask("exec");

You don't need to use Runtime etc. Ant have exec task. The class name is org.apache .tools.ant. taskdefs. ExecTask. You can create the task by using the code in your customized ant Task.
ExecTask compile = (ExecTask)project.createTask("exec");



Discussion

No Comment Found