[
https://issues.apache.org/jira/browse/GERONIMO-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736553#action_12736553
]
Shawn Jiang edited comment on GERONIMO-4763 at 7/29/09 6:01 AM:
----------------------------------------------------------------
Clearing this comments because there's no problem with NON-SUN JDK at all.
was (Author: genspring):
Unfortunately, This native2ascii-maven-plugin depends on
com.sun.tools.native2ascii.* classes in tools.jar of SUN JDK. NON-SUN JDKs(IBM
or Bea, or others) does not have these native2ascii implementation classes.
As I know, geronimo is using SUN JDK as its build JDK. But for NON-SUN JDK
users, As a workaround, he or she have to use the method described in
{noformat}
http://maven.apache.org/general.html#tools-jar-dependency
{noformat}
to add sun tools.jar as an dependency. I don't know if it's acceptable, please
advise.
> 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
> 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.