In your build.xml have something like
<taskdef name="wsStartServer"
classname="com.ibm.websphere.ant.tasks.StartServer"
classpath="${websphere.home}/lib/wsanttasks.jar"/>
<taskdef name="wsStopServer"
classname="com.ibm.websphere.ant.tasks.StopServer"
classpath="${websphere.home}/lib/wsanttasks.jar"/>
<taskdef name="wsejbdeploy"
classname="com.ibm.websphere.ant.tasks.WsEjbDeploy"
classpath="${websphere.home}/lib/wsanttasks.jar"/>
<taskdef name="wsInstallApp"
classname="com.ibm.websphere.ant.tasks.InstallApplication"
classpath="${websphere.home}/lib/wsanttasks.jar"/>
<taskdef name="wsUninstallApp"
classname="com.ibm.websphere.ant.tasks.UninstallApplication"
classpath="${websphere.home}/lib/wsanttasks.jar"/>
<taskdef name="wsStartApp"
classname="com.ibm.websphere.ant.tasks.StartApplication"
classpath="${websphere.home}/lib/wsanttasks.jar"/>
<taskdef name="wsStopApp"
classname="com.ibm.websphere.ant.tasks.StopApplication"
classpath="${websphere.home}/lib/wsanttasks.jar"/>
and call them in your task to deploy your ejb or whatever. The details
of each task is at
http://publib.boulder.ibm.com/infocenter/ws51help/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/javadoc/ae/com/ibm/websphere/ant/tasks/package-summary.html
Hope this helps.
Cheers
Srini
On Fri, 26 Nov 2004 12:03:24 +0530, sanjeev chhabra
<[EMAIL PROTECTED]> wrote:
> Hi Srini,
> How it cab used in ant build.xml.
> Thanks
> Sanjeev
>
>
>
> -----Original Message-----
> From: Srinivasan Ranganathan [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 26, 2004 11:47 AM
> To: Ant Users List
> Subject: Re: How to run ejbdeploy tool of was 5.0
>
> See
> http://publib.boulder.ibm.com/infocenter/ws51help/index.jsp?topic=/com.ibm.w
> ebsphere.base.doc/info/aes/javadoc/ae/com/ibm/websphere/ant/tasks/package-su
> mmary.html
>
> Hope this helps.
> Cheers
> Srini
>
> On Fri, 26 Nov 2004 11:51:22 +0530, sanjeev chhabra
> <[EMAIL PROTECTED]> wrote:
> > Hi All,
> > How can i configure ant build.xml to run ejbdeploy tool of Websphere
> > Application Server 5.0.
> > Give me the code.
> > Thanks
> > sanjeev
> >
> > ---------------------------------------------------------------------
> > 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]
>
>
> ---------------------------------------------------------------------
>
>
> 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]