ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivasan Ranganathan <srinirva...@gmail.com>
Subject Re: How to run ejbdeploy tool of was 5.0
Date Fri, 26 Nov 2004 06:30:30 GMT
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
<sanjeev.chhabra@mentorix.com> wrote:
> Hi Srini,
> How it cab used in ant build.xml.
> Thanks
> Sanjeev
> 
> 
> 
> -----Original Message-----
> From: Srinivasan Ranganathan [mailto:srinirvasan@gmail.com]
> 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
> <sanjeev.chhabra@mentorix.com> 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: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> 
> 
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message