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.2 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 Only parse i18n java files when found a **org.nuiton.i18n.I18n** pattern inside it Issue: 3242. Thanks to Tony Chemit. Resolved by tchemit.
o Deprecates converter APi and use now nuiton-converter instead Issue: 3321. Thanks to Tony Chemit. Resolved by tchemit.
Fixed Bugs:
o I18n doesn't work on windows Issue: 1812. Thanks to Éric Chatellier. Resolved by tchemit.
Changes:
o Migrates to Git Issue: 3331. Thanks to Tony Chemit. Resolved by tchemit.
o Use nuitonpom and the new site layout Issue: 3322. Thanks to Tony Chemit. Resolved by tchemit.
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.2|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
Hello,
Nous allons migrer le projet sous git d'ici peu. Le dépôt svn deviendra
alors en lecture-seule.
Je posterais un message avant la migration pour figer les commits sur
le dépôt svn.
Merci,
tony.
--
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