required/CWS localedata4 : Locale data checks during build time and runtime
[email protected] Wed, 21 Sep 2005 13:06:44 +0200 (CEST)
| Newsgroups | gmane.comp.openoffice.announce.interface |
|---|---|
| Message-ID | <18402847.1127300804829.JavaMail.root@sd-web1> |
Type required Title Locale data checks during build time and runtime Posted by [email protected] Affected ,i18npool Effective from CWS localedata4 Summary Runtime checks of locale data enabled if environment variable OOO_ENABLE_LOCALE_DATA_CHECKS is set to "Yes" or "1". Very basic build time checks implemented. Description The non-product builds always implemented several checks that validate locale data during runtime, especiallly number format codes that can't really be evaluated by other means than the number formatter itself. As almost no one except Hamburg release engineering does non-product builds, the checks are now also included in a product build but only activated by setting some environment variable. This will hopefully prevent defect locale data being submitted, which in the past was quite often the case. Setting the environment variable OOO_ENABLE_LOCALE_DATA_CHECKS to 'Y' or 'Yes' (or any other string starting with 'Y') or '1' before starting the application outputs messages to stderr if checks fail and also works in a product build. In a non-product build the checks are still always enabled. Additionally introduced some very basic checks during build time, which if failed will break the build. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]