Thank you for the assistance people. I modified the build.xml file as follows.
<project name="bundleRunner" default="submit_a_bundle" basedir=".">

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


<taskdef name="smfbd.submitJarBundle" classname="com.ibm.ive.eccomm.bde.ui.tooling.ant.SubmitJarBundle" classpath="${ant.classpath}/smfbdTasks.jar"/>

<target name="submit_a_bundle">

<echo message="${ant.classpath}"/>

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

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

</smfbd.submitJarBundle>

</target>

</project>


Again the build is failed and 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 in Eclipse 3.2) and I have copied it in to the ant_home/lib file as well. So what is the error I have made this time. Sorry to trouble you people. But I am kind of stuck in here.
Thank you very much for your suggestions.
Tharanga Wijethilake


----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <user@ant.apache.org>
Sent: Friday, October 13, 2006 4:15 PM
Subject: AW: Running build file which runs toolspecifc ant tasks


Hi Every body,
I have written simple a build.xml file to run in Websphere
Site Developer.It is as follows.

<project name="bundleRunner" default="submit_a_bundle" basedir=".">

<target name="submit_a_bundle">

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

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

</smfbd.submitJarBundle>

</target>

</project>

it gives me following Error. I know it clealy say what to
do. But I have the jar files(smfbdTasks.jar, bde.jar) in my
class path. Is there any thing wrong in my build.xml file. Do
I have to set the classpath in the build.xml document. please
suggest me somthing which I should do.


as it says:
Fix: declare the task.


Means ... writing a <taskdef> ....


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to