On Mon, Sep 22, 2014 at 11:55 AM, Loïc Tregan <l.tre...@gmail.com> wrote:

>
> 2. See
>>             // Step 6. Merge web-fragment.xml files into the main web.xml
>>             // file.
>>             if (ok) {
>>                 ok = webXml.merge(orderedFragments);
>>             }
>>
>> That Step 10 that you cited is about static resources
>> (META-INF/resources/ files) and nothing else.
>>
>>
>

In org.apache.tomcat.util.descriptor.web.WebXml.toXml(): there is no
<absolute-ordering> display output.

Although the merge happens in step 6 as you noted, it explains why there is
nothing logged. The impact is that the user does not know in which order
the fragments are loaded (note that the definition of web fragment is loose
in that context, it actually include all JARs - they are part of
ordered-fragments even if just a regular jar, which can be told because
their getName() starts with "jar:").


Should I submit a bug for that issue ?

Thanks,

loic

Reply via email to