Re: Duplicate entries when merging wars
Hi Ali,
i tried version 1.0 before, but this was just because we had this dependency
in our project for starting and deploying to a jboss server.
With 1.0 there were other problems when merging the web.xml files (like
comma in a context-param value) so i gave the latest version a trie.
I tried it with 1.1.4 and the result is the same.
Btw. the ordering of the elements in Version 1.0 was nicer, in 1.1.4 and
1.2.0 the elements are mixed.
Thanks for your response
Markus
S. Ali Tokmen wrote:
>
> Hi Markus
>
> Did it use to work with any past version or is this your first attempt?
>
> Thank you
>
> S. Ali Tokmen
> http://ali.tokmen.com/
>
> GSM (ch): +41 79 207 29 22 [Swisscom]
> GSM (fr): +33 7 70 10 33 79 [Virgin Mobile]
> GSM (tr): +90 555 266 52 73 [Avea]
>
> My AIM, ICQ, MSN Messenger and Yahoo IM
> contact details are on http://contact.ali.tokmen.com
>
>
> On 2012/02/01 09:08, Dreher, Markus wrote:
>>
>> Hi all,
>>
>>
>>
>> i'm trying to merge 2 wars with cargo-maven2-plugin 1.2.0.
>>
>> Merging context-params works as expected, but for filter-mappings,
>> mime-mappings, servlet-mappings and security-constraints there are
>> duplicate entries in the resulting web.xml.
>>
>>
>>
>> Each of the source web.xml contains an entry
>>
>>
>>
>> <mime-mapping>
>>
>> <extension>js</extension>
>>
>> <mime-type>application/x-javascript</mime-type>
>>
>> </mime-mapping>
>>
>>
>>
>> And
>>
>>
>>
>> <filter-mapping>
>>
>> <filter-name>Trinidad Filter</filter-name>
>>
>> <url-pattern>*.jsf</url-pattern>
>>
>> </filter-mapping>
>>
>>
>>
>> In the resulting web.xml there are 2 entries for mime-mapping and
>> filter-mapping.
>>
>>
>>
>> For servlet and filter elements this is not the case.
>>
>>
>>
>> Can anybody give me a hint?
>>
>>
>>
>> Thanks a lot.
>>
>>
>>
>> Markus
>>
>> *40 Jahre DZBW*
>>
>> Herzlichen Dank unseren Kunden und Partnern. Wir freuen uns auf die
>> gemeinsame Fortsetzung der konstruktiven, vertrauensvollen
>> Zusammenarbeit.
>>
>> Ihre Datenzentrale Baden-Württemberg
>> _______________________________________________________________________________
>>
>> Abonnieren Sie unseren Infobrief und erfahren Sie regelmäßig die
>> neuesten Nachrichten über unsere Lösungen, aktuellen Projekte und
>> Entwicklungen. Melden Sie sich an mit diesem Link
>> http://www.datenzentrale.de/Info-Brief
>>
>> _______________________________________________________________________________
>>
>> Datenzentrale Baden-Württemberg, Anstalt des öffentlichen Rechts
>> Krailenshaldenstr. 44, 70469 Stuttgart
>> Telefon (0711) 8108-20, Telefax (0711) 8108-21350
>> E-Mail info@... <mailto:info@...>, Internet
>> www.datenzentrale.de <http://www.datenzentrale.de>
>> Vorstand: Karl Tramer (Vors.) und Joachim Kischlat, Vorsitzender des
>> Verwaltungsrats: Gunter Czisch
>> USt-Id-Nr. DE147794223
>> _______________________________________________________________________________
>>
>> <#>
>
>
--
--
View this message in context: http://old.nabble.com/Duplicate-entries-when-merging-wars-tp33241645p33248533.html
Sent from the Cargo - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email