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-3.3 release!
Nuiton i18n tools
Documentation of the project can be found here:
https://doc.nuiton.org/i18n
Changes
-------
Changes in this version include:
New features:
o Review site Issue: 3350. Thanks to Tony Chemit. Resolved by
tchemit. o Add a mojo to merge back csv generated file to incoming
projects Issue: 2586. Thanks to Tony Chemit. Resolved by tchemit. o
Review the csv bundle mojos Issue: 3356. Thanks to Tony Chemit.
Resolved by tchemit.
Changes:
o Remove deprecated Tapestry mojo Issue: 3357. Thanks to Tony Chemit.
Resolved by tchemit. o Sanity mojo parameters Issue: 3358. Thanks to
Tony Chemit. Resolved by tchemit.
Downloads
---------
No release file deployed. (all files are deployed in the maven
repository)
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|3.3|jar
Have fun!
-I18n team
--
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
http://www.codelutin.com
email: chemit(a)codelutin.com
twitter: https://twitter.com/tchemit