Hi,
In Java 8, '_' will become a reserved keyword for lambda expressions.
It's already generate compiler warning:
[WARNING] bootstrap class path not set in conjunction with -source 1.6
xxx:[28,35] '_' used as an identifier
[WARNING] (use of '_' as an identifier might not be supported in future releases)
I maybe be the time to think about _() method future...
--
Éric Chatellier - Code Lutin
Tel: 02.40.50.29.28 - http://www.codelutin.com
Bonjour,
J'ai fait un petit parseur pour détecter les chaînes
I18n dans un code Java, mais basé sur la syntaxe Java (AST).
Par rapport au code précédent, il :
- ne détecte pas la chaîne dans les commentaire
- il détecte les formatage bizarre, par exemple :
String matraduction = _(
"chainesecondeligne");
Il est pour l'instant basé sur le projet javaparser [1]
parce que j'ai trouvé plus facilement la doc que
antlr ou javacc par exemple.
Voilà le code :
http://svn.nuiton.org/svn/sandbox/i18nastparsingtest/src/main/java/org/test…
À vos avis.
[1] : http://code.google.com/p/javaparser/
--
Éric Chatellier <chatellier(a)codelutin.com>
Tel: 02.40.50.29.28
http://www.codelutin.com
The I18n team is pleased to announce the i18n-2.5.2 release!
Nuiton i18n tools
Documentation of the project can be found here:
http://maven-site.nuiton.org/i18n
Changes
-------
Changes in this version include:
New features:
o Include generated csv file in class-path Issue: 2763. Thanks to Tony Chemit. Resolved by tchemit.
o Quote csv cells in csv bundle file with "" Issue: 2764. Thanks to Tony Chemit. Resolved by tchemit.
Changes:
o Updates processor to 1.3 Issue: 2767. Thanks to Tony Chemit. Resolved by tchemit.
o Updates plexus-utils to 3.0.10 Issue: 2768. Thanks to Tony Chemit. Resolved by tchemit.
o Updates mavenpom to 3.4.13 Issue: 2765. Thanks to Tony Chemit. Resolved by tchemit.
o updates xwork-core to 2.3.15.1 Issue: 2769. Thanks to Tony Chemit. Resolved by tchemit.
o updates maven-dependency-tree to 2.1 Issue: 2770. Thanks to Tony Chemit. Resolved by tchemit.
Downloads
---------
For a manual installation, you can download files here:
http://nuiton.org/projects/i18n/files
* nuiton-i18n-2.5.2-deps.zip - http://nuiton.org/attachments/download/931
* nuiton-i18n-2.5.2-full.zip - http://nuiton.org/attachments/download/932
Maven artifacts
---------------
Artifacts are deployed in Maven Central Repository
http://repo1.maven.org/maven2/
Find us at
* http://search.maven.org/#artifactdetails|org.nuiton|i18n|2.5.2|jar
Have fun!
-I18n team