[wildfly-dev] manifest.mf jboss-deployment-structure.xml order of precedence

Jason Greene jgreene at redhat.com
Fri Aug 16 08:53:29 EDT 2013


That's a very good point.

On Aug 16, 2013, at 7:26 AM, Petr Sakar <psakar at redhat.com> wrote:

> I would suggest if the user should not do that, then such situation should be detected and should trigger an error, otherwise user is left in the wild. If it is allowed, than it should be documented and the order defined
> Petr
> 
> ----- Original Message -----
> From: "Jaikiran Pai" <jpai at redhat.com>
> To: "Rebecca Searls" <rsearls at redhat.com>
> Cc: wildfly-dev at lists.jboss.org
> Sent: Friday, August 16, 2013 5:12:08 AM
> Subject: Re: [wildfly-dev] manifest.mf jboss-deployment-structure.xml order of precedence
> 
> I think what Stuart meant in his mail was that the order is "undefined" 
> for such cases from an end user point of view. i.e. don't do that, since 
> we do not guarantee the ordering or such.
> 
> -Jaikiran
> On Friday 16 August 2013 01:20 AM, Rebecca Searls wrote:
>> I'm trying to understand the nature of how this works.   I have not found any information in the documentation about
>> the rules under which these 2 files are processed by AS7/WildFly.  If MANIFEST.MF is present is it always processed
>> first?  Who wins when there are conflicting rules like the one I described?
>> 
>> 
>> ----- Original Message -----
>>> From: "Stuart Douglas" <stuart.w.douglas at gmail.com>
>>> To: "Rebecca Searls" <rsearls at redhat.com>
>>> Cc: wildfly-dev at lists.jboss.org
>>> Sent: Thursday, August 15, 2013 3:41:55 PM
>>> Subject: Re: [wildfly-dev] manifest.mf jboss-deployment-structure.xml order of precedence
>>> 
>>> Don't do that.
>>> 
>>> Pretty sure the remove will take precedence but I don't think this is
>>> something we should consider supported behavior.
>>> 
>>> Stuart
>>> 
>>> 
>>> On Thu, Aug 15, 2013 at 5:51 PM, Rebecca Searls <rsearls at redhat.com> wrote:
>>> 
>>>> What if manifest.mf adds a dependency and jboss-deployment-structure.xml
>>>> removes it?
>>>> Is manifest.mf processes first?
>>>> 
>>>> ----- Original Message -----
>>>>> From: "Stuart Douglas" <stuart.w.douglas at gmail.com>
>>>>> To: "Rebecca Searls" <rsearls at redhat.com>
>>>>> Cc: wildfly-dev at lists.jboss.org
>>>>> Sent: Thursday, August 15, 2013 11:37:19 AM
>>>>> Subject: Re: [wildfly-dev] manifest.mf jboss-deployment-structure.xml
>>>> order of precedence
>>>>> If both are present both sets of dependencies will be added to the
>>>>> deployment.
>>>>> 
>>>>> Stuart
>>>>> 
>>>>> 
>>>>> On Thu, Aug 15, 2013 at 5:32 PM, Rebecca Searls <rsearls at redhat.com>
>>>> wrote:
>>>>>> Is there are order of precedence if both a manifest.mf
>>>>>> jboss-deployment-structure.xml
>>>>>> are present in an archive?  Does one override the other?
>>>>>> _______________________________________________
>>>>>> wildfly-dev mailing list
>>>>>> wildfly-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
> 
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev



More information about the wildfly-dev mailing list