Specify the order of deploying the ears

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Specify the order of deploying the ears

Dignesh
Hi,

I am using the TomEE 7.0.2. I have multiple ears in apps folder. I have an ear(A) which is dependent on ear(B).
I want ear(B) to be deployed 1st followed by ear(A). Is there any configuration that can be done to achieve this.

Thank you,
Dignesh,
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Specify the order of deploying the ears

Romain Manni-Bucau
Hi

I'm assuming you use something like

<Deployments dir="/folder/containing/ears"/>

Instead just do

<Deployments file="/folder/containing/ears/earA.ear"/>
<Deployments file="/folder/containing/ears/earB.ear"/>



Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-03-17 12:32 GMT+01:00 Dignesh <[hidden email]>:

> Hi,
>
> I am using the TomEE 7.0.2. I have multiple ears in apps folder. I have an
> ear(A) which is dependent on ear(B).
> I want ear(B) to be deployed 1st followed by ear(A). Is there any
> configuration that can be done to achieve this.
>
> Thank you,
> Dignesh,
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Specify-the-order-of-deploying-the-ears-tp4681320.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.
>
Loading...