Do not allow duplicate translation resources during compiling

Description

To avoid overwriting of resources with translations with the same ID in their <res> definition the compiler does not allow duplicate translation resources IDs any longer.

If a duplicate ID is detected, the compilation should fail, for example:
Failure during compilation process: Unable to merge multiple packsLang.xml files: Resource 'packsLang.xml_eng' has been already defined at URL 'file:/home/travis/build/izpack/izpack/izpack-dist/target/staging/i18n/packsLang.xml_eng' and going to be overridden by URL 'file:/home/travis/build/izpack/izpack/izpack-dist/target/staging/i18n/packsLang.xml_eng'

Environment

None

Activity

Show:
René Krell
December 27, 2016, 1:55 PM

PR merged.

Fixed

Assignee

René Krell

Reporter

René Krell

Impact

Functional - non-breaking and safe in existing environments

Components

Sprint

None

Fix versions

Affects versions

Priority

Medium
Configure