You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Okomin (JIRA)" <ji...@apache.org> on 2006/08/02 10:22:14 UTC

[jira] Created: (HARMONY-1041) [classlib]Generation tool for internationalization classes

[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
            Priority: Trivial


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

        

[jira] Commented: (HARMONY-1041) [classlib]Generation tool for internationalization classes

Posted by "Ilya Okomin (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1041?page=comments#action_12428598 ] 
            
Ilya Okomin commented on HARMONY-1041:
--------------------------------------

It's ok for me. I've just didn't know what is the appropriate place for this tool.
Nevertheless, attached archive contains build file and instructions set, so, it's ready to be committed, if there is no objections. 

> [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

        

[jira] Closed: (HARMONY-1041) [classlib]Generation tool for internationalization classes

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1041?page=all ]

Tim Ellison closed HARMONY-1041.
--------------------------------


> [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, 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

        

[jira] Updated: (HARMONY-1041) [classlib]Generation tool for internationalization classes

Posted by "Ilya Okomin (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] Commented: (HARMONY-1041) [classlib]Generation tool for internationalization classes

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1041?page=comments#action_12428505 ] 
            
Tim Ellison commented on HARMONY-1041:
--------------------------------------

I don't expect this to be in the tools project (as this is for harmony development time only), it is more applicable to the standard tools area (http://svn.apache.org/viewvc/incubator/harmony/standard/tools/).


> [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

        

[jira] Resolved: (HARMONY-1041) [classlib]Generation tool for internationalization classes

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1041?page=all ]

Tim Ellison resolved HARMONY-1041.
----------------------------------

    Resolution: Fixed

Thanks Ilya,

Msg tool committed into the tools section at repo revision r468163.




> [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, 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

        

[jira] Updated: (HARMONY-1041) [classlib]Generation tool for internationalization classes

Posted by "Ilya Okomin (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1041?page=all ]

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

    Attachment: msgstool.zip

Small update for msgstool:
1. changed set of modules:
      - removed non-existent 'net' module, added x-net and nio_char
2. added 'x-net' and 'nio_char' modules support
3. added leading and trailing whitespace omitting for modules names from the modules.properties file

> [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, 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

        

[jira] Assigned: (HARMONY-1041) [classlib]Generation tool for internationalization classes

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1041?page=all ]

Tim Ellison reassigned HARMONY-1041:
------------------------------------

    Assignee: Tim Ellison

> [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
>
>
> 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

        

[jira] Updated: (HARMONY-1041) [classlib]Generation tool for internationalization classes

Posted by "Ilya Okomin (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1041?page=all ]

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

    Attachment: msgstool.zip

Tool implementation can found it in attached zip-file (msgstool.zip).
It can be built using ant as independent tool, but it can be added to other tools from tools.jar in the future. (Suggestions are welcomed.)
README file with instructions how to use this tool can be found in archive also.


> [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
>            Priority: Trivial
>         Attachments: 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

        

[jira] Commented: (HARMONY-1041) [classlib]Generation tool for internationalization classes

Posted by "Ilya Okomin (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1041?page=comments#action_12425172 ] 
            
Ilya Okomin commented on HARMONY-1041:
--------------------------------------

Link to the mentioned thread:
[1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200607.mbox/%3cc79906b30607100414j7e135b50tc4d725c0df740673@mail.gmail.com%3e 

> [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
>            Priority: Trivial
>
> 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