On Fri, 19 Apr 2002 02:43, tek1 wrote:
> 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")
Shouldn't that be project.addTaskDefinition()?
>
> ATask task = (ATask)this.project.createTask("atask");
>
--
Adam
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>