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

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>


Reply via email to