harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Okomin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1041) [classlib]Generation tool for internationalization classes
Date Mon, 14 Aug 2006 15:49:16 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1041?page=all ]

Ilya Okomin updated HARMONY-1041:
---------------------------------

    Attachment: msgstool.zip

Updated MSGSTOOL.

*resource files are not linked to the user.dir folder, they are taken from ClassLoader.
*MsgUtil.java removed from generated source files (all functionality is in the Messages.java
now)
*fixed year in copyright header and misspell of  "template" word
*source files generation to the "<dst path>/modules/<module>/src/main/java/common"
folder if it is exist on the output path.

Tim, take a look at this version of the tool please. 
I couldn't integrate this tool to the org.apache.harmony.tools package in Harmony - don't
know how to generate manifest file for Harmony:( It would be great if you help me with it.


> [classlib]Generation tool for internationalization classes
> ----------------------------------------------------------
>
>                 Key: HARMONY-1041
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1041
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>            Reporter: Ilya Okomin
>         Assigned To: Tim Ellison
>            Priority: Trivial
>         Attachments: msgstool.zip, msgstool.zip
>
>
> In the [classlib]internationalization thread [1] was decided to create tool that would
generate classes to support internaionalization.
> It was decided to create Messages.java, MsgUtil.java source files from templates for
each module in Harmony project that correspond to Msg.java and MsgHelp.java classes from org.apache.harmony.luni.util
package. 
> (Generated classes names changed to be used in convenient way during messages externalization
using Eclipse strings externalization tool.)
> Generated source files must be placed in org.apache.harmony.<module>.internal.nls
package for each module.
> With this tool one can easely re-generate necessary source files (just changing the code
in templates) if the scheme of internationalization support is changed. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message