ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tek1 <>
Subject getting null when trying to call custom ant task
Date Thu, 18 Apr 2002 16:43:00 GMT

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() {

	// 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:   <>
For additional commands, e-mail: <>

View raw message