Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-core-dev] Unnecessary nls tag detection and removal

Hi,

I posted a binary patch of the JDT/Core plugin that detects these tags. I 
also posted a tool that removes all of them automatically.

1) You can find the binary patch there:
 
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-home/r3.2/main.html#updates

        Unzip the file into the plugins directory of your Eclipse install 
and move the two zip files (jdt/core source)  to the 
plugins\org.eclipse.jdt.source_3.1.0\src\org.eclipse.jdt.core_3.1.0 folder 
of your Eclipse install.

2) The tool can be found here:
 
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-home/tools/jdtcoretools/index.html
        Unzip the file in your Eclipse install.

3) Restart Eclipse.

4) You should find a new popup menu entry (available on Java projects, 
package fragment roots, package fragments, compilation unit) called 
JDT/Core tools. you have two entries:
- Check positions of DOM/AST nodes
- Remove Unnecessary NLS Tags

Select the second one and it will update all compilation units within the 
selected elements.

Let me know if you find anything wrong. I remind you that this detection 
will be enable again after 3.2M1.

Olivier


Back to the top