ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kees Snijders <Ke...@discoverylife.co.za>
Subject Question about ServerDeploy
Date Tue, 05 Nov 2002 14:56:29 GMT
Hi all,

I'd like to use the ServerDeploy task to hot-deploy an ear file containing
an ejbjar and war file to a Weblogic server, but I can't figure out how to
format the component attribute to do this.

This works, deploys both, but only activates the ejbjar:

                        <serverdeploy action="deploy"
source="${dist.dir}/${ear}">

                                    <weblogic application="${project}"

 
classpath="${weblogic.home}/lib/weblogic.jar"                          

                                        server="${deploy.server}"

                                        username="${deploy.user}"

                                        password="${deploy.password}"


                                        component="${ejbjar}:myserver"

                                        debug="true"/>


                        </serverdeploy> 

This deploys both, but activates neither:

                        <serverdeploy action="deploy"
source="${dist.dir}/${ear}">

                                    <weblogic application="${project}"

 
classpath="${weblogic.home}/lib/weblogic.jar"                          

                                        server="${deploy.server}"

                                        username="${deploy.user}"

                                        password="${deploy.password}"


                                        debug="true"/>


                        </serverdeploy> 

 

I'm hoping there is some sort of nesting behaviour that allows specifying
multiple components.

 

I'm using Weblogic 7 and Ant 1.5.1

Thanks,

Kees Snijders


Mime
View raw message