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
attributes which you want your java task instance to have, such as myjava.setClassname("org.foo.bar.doit"); Regards, Antoine Original-Nachricht Datum: Wed, 9 Aug 2006 16:20:21 -0400 Von: "Tzabari, Gili" <[EMAIL PROTECTED]> An: Ant Users List Betre

Custom task invoking other tasks

2006-08-09 Thread Tzabari, Gili
Hi, I'd like my custom task to invoke the Java task. Do I simply construct a new instance of org.apache.tools.ant.taskdefs.Java and execute() it? Or is there a nicer convention for chaining tasks programmatically (not in the build.xml side, but rather on the Java end)? Thanks,