RE: Using Ant Programmatically

2006-05-23 Thread subir bhaumik
Thank you for your recommendation.Now its running O.K. Warm Regards Subir Stephen McConnell <[EMAIL PROTECTED]> wrote: I would recommend that you forget about the Taskdef and just focus on instantiating and executing the IzPackTask task instance. For example: IzPackTask task = ne

Re: Using Ant Programmatically

2006-05-22 Thread Steve Loughran
subir bhaumik wrote: Hello, I am posting to this group since I am not getting any guidance apart from "look at ant source code". I am trying to use ant programmatically using the Ant API. When executing the code it throws NullPointerException for the line tinstall

RE: Using Ant Programmatically

2006-05-21 Thread Stephen McConnell
I would recommend that you forget about the Taskdef and just focus on instantiating and executing the IzPackTask task instance. For example: IzPackTask task = new IzPackTask(); task.setProject( project ); // you customatization of the task task.init(); task.execute(); /Steve.