This is an automated email from the git hooks/post-receive script. New commit to annotated tag v2.3 in repository i18n. See https://gitlab.nuiton.org/nuiton/i18n.git commit 393e98e5fb987f74a1a0d6274ece1847f6527299 Author: Tony Chemit <chemit@codelutin.com> Date: Mon Jan 31 13:07:02 2011 +0000 Update documentation [maven-release-plugin] prepare release i18n-2.3 --- ant-i18n-task/pom.xml | 2 +- maven-i18n-plugin/pom.xml | 2 +- nuiton-i18n/pom.xml | 2 +- pom.xml | 4 ++-- src/site/apt/index.apt | 31 +++++++++++++++++++++++++++---- src/site/en/apt/index.apt | 29 ++++++++++++++++++++++++++--- 6 files changed, 58 insertions(+), 12 deletions(-) diff --git a/ant-i18n-task/pom.xml b/ant-i18n-task/pom.xml index 9bfefd9..e62440e 100644 --- a/ant-i18n-task/pom.xml +++ b/ant-i18n-task/pom.xml @@ -34,7 +34,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>i18n</artifactId> - <version>2.3-SNAPSHOT</version> + <version>2.3</version> </parent> <groupId>org.nuiton.i18n</groupId> diff --git a/maven-i18n-plugin/pom.xml b/maven-i18n-plugin/pom.xml index b6767c5..15f6bea 100644 --- a/maven-i18n-plugin/pom.xml +++ b/maven-i18n-plugin/pom.xml @@ -33,7 +33,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>i18n</artifactId> - <version>2.3-SNAPSHOT</version> + <version>2.3</version> </parent> <groupId>org.nuiton.i18n</groupId> diff --git a/nuiton-i18n/pom.xml b/nuiton-i18n/pom.xml index 8c13c17..4d30f22 100644 --- a/nuiton-i18n/pom.xml +++ b/nuiton-i18n/pom.xml @@ -34,7 +34,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>i18n</artifactId> - <version>2.3-SNAPSHOT</version> + <version>2.3</version> </parent> <groupId>org.nuiton.i18n</groupId> diff --git a/pom.xml b/pom.xml index eedbd5f..7612617 100644 --- a/pom.xml +++ b/pom.xml @@ -33,11 +33,11 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom4redmineAndCentral</artifactId> - <version>2.4.2</version> + <version>2.4.3</version> </parent> <artifactId>i18n</artifactId> - <version>2.3-SNAPSHOT</version> + <version>2.3</version> <modules> <module>nuiton-i18n</module> diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt index 2669397..a83334e 100644 --- a/src/site/apt/index.apt +++ b/src/site/apt/index.apt @@ -51,6 +51,32 @@ System.out.println(I18n._("This text will be translated")); - {{{./ant-i18n-task/index.html}I18n Ant task}} (ce module a été désactivé depuis la version 2.0) +Quoi de neuf dans la version 2.3 + + La version 2.3 améliore de façon considérable les temps de détection des clefs + i18n pour les fichiers java (mojo <<parserJava>>). + + Voir {{{http://nuiton.org/issues/show/1275}Evolution #1275: Improve parserJava performance}}. + + On passe à des temps très raisonnable (en de dessous de 5 millisecondes par + fichier!) montré ci-dessous : + +-------------------------------------------------------------------------------- +mvn package -Pnotests -Di18n.strictMode -DnuitonI18nVersion=2.2 + +[INFO] --- maven-i18n-plugin:2.2:parserJava (default) @ observe-business --- +[INFO] Parsing is done. [treated file(s) : 76/187](total time:19.852s) ( ~ 106.158ms / file) +[INFO] --- maven-i18n-plugin:2.2:parserJava (scan-sources) @ observe-swing --- +[INFO] Parsing is done. [treated file(s) : 151/206](total time:38.732s) ( ~ 188.021ms / file) + +mvn package -Pnotests -Di18n.strictMode -DnuitonI18nVersion=2.3-SNAPSHOT + +[INFO] --- maven-i18n-plugin:2.3-SNAPSHOT:parserJava (default) @ observe-business --- +[INFO] Parsing is done. [treated file(s) : 76/187](total time:640.602ms) ( ~ 3.426ms / file) +[INFO] --- maven-i18n-plugin:2.3-SNAPSHOT:parserJava (scan-sources) @ observe-swing --- +[INFO] Parsing is done. [treated file(s) : 151/206](total time:450.823ms) ( ~ 2.188ms / file) +-------------------------------------------------------------------------------- + Quoi de neuf dans la version 2.2 La version 2.2 supprimer juste des deux méthodes dépréciées en <2.1> : @@ -159,8 +185,5 @@ malib_fr_FR.properties Donc pour construire le projet I18n avec ce module il suffit de lancer : ----------------------------------------------------------------------------- -mvn install -Pant-task-profile +mvn install -Pextra-modules ----------------------------------------------------------------------------- - - - diff --git a/src/site/en/apt/index.apt b/src/site/en/apt/index.apt index 98b77ce..a3e89c4 100644 --- a/src/site/en/apt/index.apt +++ b/src/site/en/apt/index.apt @@ -51,6 +51,31 @@ System.out.println(I18n._("This text will be translated")); - {{{./maven-i18n-plugin/index.html}I18n Maven Plugin}} +What's new in 2.3 version + + Version 2.3 improves a lot performance on dectection of java file i18n keys + (mojo <<parserJava>>). + + Voir {{{http://nuiton.org/issues/show/1275}Evolution #1275: Improve parserJava performance}}. + + We are now having some nice times (under 5 millisecondes for a file!) as + shown below : + +-------------------------------------------------------------------------------- +mvn package -Pnotests -Di18n.strictMode -DnuitonI18nVersion=2.2 + +[INFO] --- maven-i18n-plugin:2.2:parserJava (default) @ observe-business --- +[INFO] Parsing is done. [treated file(s) : 76/187](total time:19.852s) ( ~ 106.158ms / file) +[INFO] --- maven-i18n-plugin:2.2:parserJava (scan-sources) @ observe-swing --- +[INFO] Parsing is done. [treated file(s) : 151/206](total time:38.732s) ( ~ 188.021ms / file) + +mvn package -Pnotests -Di18n.strictMode -DnuitonI18nVersion=2.3-SNAPSHOT + +[INFO] --- maven-i18n-plugin:2.3-SNAPSHOT:parserJava (default) @ observe-business --- +[INFO] Parsing is done. [treated file(s) : 76/187](total time:640.602ms) ( ~ 3.426ms / file) +[INFO] --- maven-i18n-plugin:2.3-SNAPSHOT:parserJava (scan-sources) @ observe-swing --- +[INFO] Parsing is done. [treated file(s) : 151/206](total time:450.823ms) ( ~ 2.188ms / file) +-------------------------------------------------------------------------------- What's new in 2.2 version @@ -158,7 +183,5 @@ mylib_fr_FR.properties So to build the I18n project with this module, you just have to launch : ----------------------------------------------------------------------------- -mvn install -Pant-task-profile +mvn install -Pextra-modules ----------------------------------------------------------------------------- - - -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.