hello.

i've written 2 custom ant tasks and am trying to have one (say "ATask") 
call the other ("BTask")

i tried the following in ATask (to reference BTask):


someMethod() {

        this.project.addDataTypeDefinition("atask",Class.forName("com.test.ATask"));
        // also tried without the above line, but the result is the same

        ATask task = (ATask)this.project.createTask("atask");

}



however, "task" is turning out to be null.

i'd appreciate any advice.  thank you. 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to