Find unused resource files (.jsp, .xhtml, images) in Eclipse
eclipse, file
Solution
Following these 3 steps would work for sites with a relatively finite number of dynamic pages:
Install your site on a filesystem `mount`'ed with `atime` (access time).
Try harvesting the whole site with `wget`.
Use `find` to see which files were not accessed recently.
Done.
Problem
I'm developing a large web application in Eclipse and some of the resources (I'm talking about files, NOT code) are getting deprecated, however, I don't know which are and I'm including them in my ending war file. I know Eclipse recognizes file paths into its directory because I can access the link to an image or other page while I'm editing one of my xhtml pages (using Control). But is there a way to localize the unused resources in order to remove them?