geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (GERONIMO-4763) i18n properties files should be converted to ascii at build time.
Date Fri, 07 Aug 2009 15:43:15 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jarek Gawor reopened GERONIMO-4763:
-----------------------------------


Trunk builds on IBM SDK are broken by this change: http://people.apache.org/builds/geronimo/server/binaries/trunk/20090807/build-0300.log

Looks like the native2ascii-maven-plugin-1.0-alpha-1 is missing a build profile for IBM SDK
where it adds the tools.jar to its classpath (as it does for Sun JDKs). We need to fix the
plugin or change our poms to directly use the Ant task and construct the classpath correctly.


> i18n properties files should be converted  to ascii at build time.
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-4763
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4763
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: usability
>    Affects Versions: 2.1.5, 2.2
>            Reporter: Shawn Jiang
>            Assignee: Ivan
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: G4763_mv_i18n_trunk.bat, G4763_trunk.patch
>
>
> Current i18n properties files are stored in source code repo after they are converted
to ascii from native offline.  It's very hard to contribute new translations.
> We should keep native characters in source code while convert them to ascii at build
time. maven plugin native2ascii-maven-plugin could be used here:
> {code}
> <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>native2ascii-maven-plugin</artifactId>
>                 <version>1.0-alpha-1</version>
>                 <configuration>
>                     <dest>target/classes</dest>
>                     <src>src/main/resources</src>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <id>native2ascii-utf8</id>
>                         <goals>
>                             <goal>native2ascii</goal>
>                         </goals>
>                         <configuration>
>                             <encoding>UTF8</encoding>
>                             <includes>
>                                 ConsoleResources_jp.properties,
>                                 ConsoleResources_zh*.properties
>                             </includes>
>                         </configuration>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}

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