ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tharanga wijethilake" <>
Subject How to resolve a NullPointerException
Date Mon, 16 Oct 2006 14:41:07 GMT
Hi all,
I am tring to run this Ant file using a java program. 
When I run this using "Ant run" option provided in eclipse it runs with out any trouble. 
<project name="bundleRunner" default="submit_a_bundle" basedir=".">

<property name="ant.classpath" location="lib"/>

<taskdef name="smfbd.submitJarBundle" classname="">


<fileset dir="lib">

<include name="${ant.classpath}/smfbdTasks.jar"/>

<include name="${ant.classpath}/bde.jar"/>




<target name="submit_a_bundle"> 

<smfbd.submitJarBundle bundlepath="/HelloWorld" replace="true">

<bundleserver host="localhost" user="Admin" password="Admin" port="8080" webapp="/smf"/>




but when I try to run prgrammtically it gives a null pointer. Please Could someone tell me
how am i supose to find from where the exception throws.


C:\Documents and Settings\tharanga\My Documents\IBM\wssitedev51\workspace\AntRunner\build.xml:12:

Total time: 2 seconds

 It is line 12 but is it the "bundlepath" or is it because of the related class file for smfbd
task is missing. Thank you very much.

Tharanga Wijethilake

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message