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

Jaikiran Pai jpai at redhat.com
Thu Aug 15 23:12:08 EDT 2013


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



More information about the wildfly-dev mailing list