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
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
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
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
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
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
: 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;
/**
*
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
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]
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
10 matches
Mail list logo