Re: Taskdef NullPointerException

2006-05-18 Thread Steve Loughran
subir bhaumik wrote: Hi I am trying to execute a simple java code for a build using Ant API rather than writing build.xml.When executing the code it throws NullPointerException for the line tinstaller.setClasspath(class_path); in the code. It is for the class "org.

Taskdef NullPointerException

2006-05-18 Thread subir bhaumik
Hi I am trying to execute a simple java code for a build using Ant API rather than writing build.xml.When executing the code it throws NullPointerException for the line tinstaller.setClasspath(class_path); in the code. It is for the class "org.apache.tools.ant.taskdefs