Community
Participate
Working Groups
One of the requirements from the simultaneous release is that "Projects must use ICU4J, where appropriate, to excel in NL support." (see http://wiki.eclipse.org/ICU4J for the exact rules) So, we must check that we are not using any forbidden types, preferably with a suitable tool.
I committed one such tool in revision 557. It uses the JDT Search API to find occurrences of the forbidden types in the workspace: /org.eclipse.emf.facet.dev.core/src/org/eclipse/emf/facet/dev/core/CheckICU4JHandler.java
I worked well in my runtime workspace, but when I tried to run it on my main workspace, I got a lot of false positives from referenced libraries. Reopening.
I got rid of the false positives by filtering out binary members. Committed in revision 558.
Note: the wording I used in my previous comment wasn't clear ("I committed one such tool"). So, I wanted to make it clear that this is a tool I wrote myself, and there is no need for an IP review.
Hello Nicolas, Is this tool launched during each build and provide a report? Regards, Gregoire
(In reply to comment #5) > Hello Nicolas, > > Is this tool launched during each build and provide a report? No, it must be launched manually from a workspace containing the plug-ins to check. I don't think it is possible to run it during the build.
(In reply to comment #6) > (In reply to comment #5) > > Hello Nicolas, > > > > Is this tool launched during each build and provide a report? > > No, it must be launched manually from a workspace containing the plug-ins to > check. I don't think it is possible to run it during the build. Ok, I reopen this bug because such tools have to be launched during each build to be relevant. Here is some ideas: - use MoDisco (n-1 version to avoid cyclic dependencies), - use text search. Regards, Gregoire Dupe