ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Using Ant api to call a task...
Date Tue, 18 Jun 2002 06:11:49 GMT
On Mon, 17 Jun 2002, Hal Hildebrand <Hal.Hildebrand@hellblazer.com>
wrote:

>         ExecTask exec = new ExecTask();
>         exec.setProject(project);

The preferred way would be 

    ExecTask exec = (ExecTask) project.createTask("exec");

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message