Hi again,
I found way to automate this using ant. In websphere studio application developer they offer some tasks to install smf bundles. I wrote following build file to submit the bundle "HelloWorld".
<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>
The build.xml file is in the same folder where the src and the METE-INF folder is in. Bundle runs fine.
But I when I run the build it gives the following error. Could anyone tell me what this means.
Buildfile: C:\Documents and Settings\tharanga\My Documents\IBM\wssitedev51\workspace\HelloWorld\build.xml
submit_a_bundle:
[smfbd.submitJarBundle] Error occurred submitting /HelloWorld
[smfbd.submitJarBundle]Connection aborted by peer: socket write error
BUILD SUCCESSFUL
Total time: 801 milliseconds
Thank you again.
Tharanga Wijethilake