commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] Commented: (MATH-361) Localization and Error Handling
Date Fri, 11 Jun 2010 12:09:14 GMT


Gilles commented on MATH-361:

Revision 953668 contains a stripped-down of CM with a working version of the source files
modified according to the proposal.
The code is in the ["sandbox" area|]
of the repository.
Since the part of the proposal concerning the possibility of having a run-time selection of
the localization library did not elicit a strong interest, the version shown there is the
"simplest" case, where the dependency on the (external) library "cal10n" is _not_ optional.

Please have a look.

# I had to modify some files due to dependencies on files which I had removed.
# I had to comment out some statements (e.g. in test files that referenced "TestUtils" which
I had removed).
# I modified the "pom.xml" file:
** to include the new dependency on the "cal10n" library
** so that the resources (localized messages text) are included in the JAR (but this has the
side-effect of including the "templates" directory, contrary to what was done by default)

> Localization and Error Handling
> -------------------------------
>                 Key: MATH-361
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: Gilles
>            Priority: Minor
>         Attachments: l10n.tar.gz, res.tar.gz
> This proposal aims at easing the handling of error during algorithms development, and
also enhancing the flexibility of the error reporting (provide meaningful exception classes
and run-time selection of the localization formatting).
> More details at []

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message