RE: Custom task invoking other tasks

2006-08-10 Thread Tzabari, Gili
Many thanks! Gili -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 6:28 PM To: Ant Users List Subject: Re: Custom task invoking other tasks Hello Gili, you can construct your Java task instance in two ways : a) for Ant

Re: Custom task invoking other tasks

2006-08-09 Thread Antoine Levy-Lambert
Hello Gili, you can construct your Java task instance in two ways : a) for Ant 1.6 code Java myjava = (Java) getProject().createTask("java"); or b) for Ant 1.7 code Java myjava = new Java(); myjava.bindToOwner(this); myjava.init(); in both cases you need to set afterwards all the attributes