Re: How to resolve a NullPointerException

2006-10-27 Thread tharanga wijethilake
Hi, I am running the following code to run this ant file. private void antRun(){ File buildFile = new File("C:\\Documents and Settings\\tharanga\\My Documents\\IBM\\wssitedev51\\workspace\\BundleDeployer\\build.xml"); if(buildFile.exists()){ Project p = new Project(); p.setUs

How to resolve a NullPointerException

2006-10-16 Thread tharanga wijethilake
m i supose to find from where the exception throws. submit_a_bundle: BUILD FAILED C:\Documents and Settings\tharanga\My Documents\IBM\wssitedev51\workspace\AntRunner\build.xml:12: java.lang.NullPointerException Total time: 2 seconds It is line 12 but is it the "bundlepath" or

Re: Running build file which runs toolspecifc ant tasks

2006-10-14 Thread tharanga wijethilake
it generates the following exception. BUILD FAILED file:C:/Documents%20and%20Settings/tharanga/workspace/AntRunner/build.xml:4: taskdef class com.ibm.ive.eccomm.bde.ui.tooling.ant.SubmitJarBundle cannot be found I have included the smfbdTasks jar in the build path(now I am running this class

Running build file which runs toolspecifc ant tasks

2006-10-13 Thread tharanga wijethilake
file. Do I have to set the classpath in the build.xml document. please suggest me somthing which I should do. Thank you in advance. Tharanga Wijethilake C:\Documents and Settings\tharanga\My Documents\IBM\wssitedev51\wor ner>java -cp "%classpath%;AntRunner.jar" org.oul

Re: Problems in running ant in WebSphere studio site deveoper in bundles

2006-10-11 Thread tharanga wijethilake
I think the problem is that I have to specify the imported jars in the MANIFEST.MF file but it does not allow me to do so. I have to figure out how external packages can be imported in to the bundle. I think that is some thing to be handled in WebSphere IDE. Thanks for the reply. Tharanga

Re: Problems in running ant in WebSphere studio site deveoper in bundles

2006-10-11 Thread tharanga wijethilake
Thank you for the reply. Yes it seems so. but I did include them in the libraries in the build path. Trying to figure out what else I should do. Still have the same problem. Thank you. Tharanga Wijethilake - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, Octo

Problems in running ant in WebSphere studio site deveoper in bundles

2006-10-11 Thread tharanga wijethilake
: Tharanga Wijethilake * @Time : 10:54:25 */ public class AntRunner implements Runnable{ private String fileName="C:\\Documents and Settings\\tharanga\\My Documents\\IBM\\wssitedev51\\workspace\\Runner\\build.xml"; private static AntRunner ar; private Thread thread; /** *

RE: InstantiationException using ant.bat

2005-05-17 Thread Tharanga Bandara
Andres, i think u can not have both ant installations at the same time. to run the new installation remove the previouse ant installations.Try this out and there is a guide line for this in the and FAQ on this error. check that out as well. i hope this will help u. tharanga bandara ([EMAIL

Problems with running ant ...

2005-03-21 Thread dtb tharanga
PROTECTED] anjuta]$ can u help to solve this thing up. thank u tharanga ([EMAIL PROTECTED]) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Running apache ant in unix system

2005-03-14 Thread tharanga
thanks Stefan, i checked the folders and it seems like i do have prior installation of ant which is done by the privious user of my computer(office computer which i am undergoing a traning). [EMAIL PROTECTED] tharanga]$ echo $PATH .::/usr/local/IntelliJ-IDEA-4.5/bin:/usr/local/ant/bin:/usr