commons-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/MATH-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877801#action_12877801
] 

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|http://svn.apache.org/viewvc/commons/sandbox/commons-math_l10n/trunk/]
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.

Notes:
# 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: https://issues.apache.org/jira/browse/MATH-361
>             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 [http://www.mail-archive.com/dev@commons.apache.org/msg14570.html]

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


Mime
View raw message