Hi,

No, if you imply conflicts the behavior is not defined. ATM that's like it
but nothing can be guaranteed.

- Romain
Le 29 mai 2013 21:37, "ehenson" <[email protected]> a écrit :

> I just created a test of which I added a <Deployments dir=""/> tag to point
> to another folder.
> I created a simple war with an index.jsp that the output was the name of
> the folder and then copied that war to the tomee's webapp folder and
> changed index.jsp to note that it was in the webapp folder.
> Every time I start the server it notes that it is loading the war from the
> <Deployments> location and not the default tomee webapp folder.
> Is this the expected behavior in which the <Deployments> tags overrides the
> default tomee webapp folder if the apps or wars are of the same name?  I'm
> actually hoping that this is the case.
>
>
> Thanks,
> Eric
>
>
>
> Eric Henson
> Gartman Systems
>
>
> On Sat, May 25, 2013 at 4:34 AM, Romain Manni-Bucau [via OpenEJB] <
> [email protected]> wrote:
>
> > Order is respected but using dir attribute (not file) you depend on
> > listFiles() order
> > Le 24 mai 2013 23:01, "ehenson" <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=4663224&i=0>>
> > a écrit :
> >
> > > Are the <Deployments> tags processed in sequential order and have
> > > overriding
> > > capabilities?
> > >
> > > My business case is we have base software and then customize to the
> > > customer's needs if any.  What I would like to do is load any wars or
> > ears
> > > that are custom from a folder for customizations and then load the base
> > > ears
> > > and wars from the base folder and only if the custom doesn't have the
> > same
> > > ear/war.  Basically if the ear/war was already loaded then the base
> > folder
> > > may post a warning in the log at startup but the server will process
> the
> > > custom app instead.
> > >
> > > For more examples:
> > > <Deployments dir="/tomee/custom/webapps/"/>
> > > <Deployments dir="/tomee/base/webapps/"/>
> > >
> > >
> > > Thanks,
> > >
> > > Eric
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://openejb.979440.n4.nabble.com/tomee-xml-and-Deployments-tag-and-order-of-deployments-tp4663218.html
> > > Sent from the OpenEJB User mailing list archive at Nabble.com.
> > >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://openejb.979440.n4.nabble.com/tomee-xml-and-Deployments-tag-and-order-of-deployments-tp4663218p4663224.html
> >  To unsubscribe from tomee.xml and Deployments tag and order of
> > deployments, click here<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4663218&code=ZWhlbnNvbkBnYXJ0bWFuLmNvbXw0NjYzMjE4fC0xOTk5MjQzODk5
> >
> > .
> > NAML<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/tomee-xml-and-Deployments-tag-and-order-of-deployments-tp4663218p4663329.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to