Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to identify unused properties in eclipse(Find Broken Externalized Strings)
How to identify unused properties in eclipse [message #725172] Wed, 14 September 2011 03:00 Go to next message
Eclipse UserFriend
We have a struts project. We have Message.properties which is used by jsp and java classes. Now i want to find which all properties are unused. Manual way is to search for each property in current project and if 0 result, remove it. But for so many files and so many properties its not possible.

I saw this in some forum.

Find Broken Externalized Strings

But this gives me error "no nls property files with corresponding accessor of class found in selection"

Can someone please explain this error.
Re: How to identify unused properties in eclipse [message #725187 is a reply to message #725172] Wed, 14 September 2011 03:05 Go to previous message
Eclipse UserFriend
On 14.09.2011 09:00, Jigar Shah wrote:
> We have a struts project. We have Message.properties which is used by
> jsp and java classes. Now i want to find which all properties are
> unused. Manual way is to search for each property in current project
> and if 0 result, remove it. But for so many files and so many
> properties its not possible.
>
> I saw this in some forum.
>
> http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftasks-206.htm
>
>
> But this gives me error "no nls property files with corresponding
> accessor of class found in selection"
This only works for Java but not JSP. For Java, make sure that the
selection contains project(s) or a package(s) before you invoke it.

Dani
>
> Can someone please explain this error.
Previous Topic:Using JDT-APT to generate code
Next Topic:(no subject)
Goto Forum:
  


Current Time: Tue Jul 01 10:56:41 EDT 2025

Powered by FUDForum. Page generated in 0.12247 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top