The "EAR Search" tool searches for
text and regular expressions within a given JAVA archive file (EAR, WAR,
JAR and ZIP). The tool does recursively search within included archive
files.
Command syntax is very simple, similar to grep:
Syntax: java -jar EARScanner.jar [-c] [-E] [-k] [-n] fileToAnalyze searchPattern
-c: search within comments (following java.util.Properties definition)
-E: treat searchPattern as a regular expression
-k: keep exploded files and directories
-n: show line number