Author: tchemit Date: 2011-01-31 14:07:02 +0100 (Mon, 31 Jan 2011) New Revision: 1873 Url: http://nuiton.org/repositories/revision/i18n/1873 Log: Update documentation [maven-release-plugin] prepare release i18n-2.3 Modified: tags/i18n-2.3/ant-i18n-task/pom.xml tags/i18n-2.3/maven-i18n-plugin/pom.xml tags/i18n-2.3/nuiton-i18n/pom.xml tags/i18n-2.3/pom.xml tags/i18n-2.3/src/site/apt/index.apt tags/i18n-2.3/src/site/en/apt/index.apt Modified: tags/i18n-2.3/ant-i18n-task/pom.xml =================================================================== --- tags/i18n-2.3/ant-i18n-task/pom.xml 2011-01-31 12:51:13 UTC (rev 1872) +++ tags/i18n-2.3/ant-i18n-task/pom.xml 2011-01-31 13:07:02 UTC (rev 1873) @@ -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> Modified: tags/i18n-2.3/maven-i18n-plugin/pom.xml =================================================================== --- tags/i18n-2.3/maven-i18n-plugin/pom.xml 2011-01-31 12:51:13 UTC (rev 1872) +++ tags/i18n-2.3/maven-i18n-plugin/pom.xml 2011-01-31 13:07:02 UTC (rev 1873) @@ -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> Modified: tags/i18n-2.3/nuiton-i18n/pom.xml =================================================================== --- tags/i18n-2.3/nuiton-i18n/pom.xml 2011-01-31 12:51:13 UTC (rev 1872) +++ tags/i18n-2.3/nuiton-i18n/pom.xml 2011-01-31 13:07:02 UTC (rev 1873) @@ -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> Modified: tags/i18n-2.3/pom.xml =================================================================== --- tags/i18n-2.3/pom.xml 2011-01-31 12:51:13 UTC (rev 1872) +++ tags/i18n-2.3/pom.xml 2011-01-31 13:07:02 UTC (rev 1873) @@ -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> Modified: tags/i18n-2.3/src/site/apt/index.apt =================================================================== --- tags/i18n-2.3/src/site/apt/index.apt 2011-01-31 12:51:13 UTC (rev 1872) +++ tags/i18n-2.3/src/site/apt/index.apt 2011-01-31 13:07:02 UTC (rev 1873) @@ -51,6 +51,32 @@ - {{{./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 @@ Donc pour construire le projet I18n avec ce module il suffit de lancer : ----------------------------------------------------------------------------- -mvn install -Pant-task-profile +mvn install -Pextra-modules ----------------------------------------------------------------------------- - - - Modified: tags/i18n-2.3/src/site/en/apt/index.apt =================================================================== --- tags/i18n-2.3/src/site/en/apt/index.apt 2011-01-31 12:51:13 UTC (rev 1872) +++ tags/i18n-2.3/src/site/en/apt/index.apt 2011-01-31 13:07:02 UTC (rev 1873) @@ -51,7 +51,32 @@ - {{{./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 Version 2.2 just suppress the two depreciated methods in 2.1 version : @@ -158,7 +183,5 @@ So to build the I18n project with this module, you just have to launch : ----------------------------------------------------------------------------- -mvn install -Pant-task-profile +mvn install -Pextra-modules ----------------------------------------------------------------------------- - -