Skip to content

Recursively search one or more directories for jar files containing a given class

Notifications You must be signed in to change notification settings

mreid-moz/JarFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JarFinder

JarFinder is used to find a given class inside jar files.

Usage:

`java com.mozilla.jarfinder.JarFinder classname dir [ dir2 ] [ dir3 ] [ ... ]`

Example:

$ java com.mozilla.jarfinder.JarFinder org.eclipse.mylyn.internal.commons.core.XmlStringConverter /home/yourname/eclipse/3.7/
Search results for 'org.eclipse.mylyn.internal.commons.core.XmlStringConverter':
/home/yourname/eclipse/3.7/eclipse/plugins/org.eclipse.mylyn.commons.core_3.6.0.v20110608-1400.jar contains the class 'org.eclipse.mylyn.internal.commons.core.XmlStringConverter'

You can also specify a bare classname to search entire jars:

$ java com.mozilla.jarfinder.JarFinder UserDetails /home/yourname/spring-security/
Search results for 'UserDetails':
/home/yourname/spring-security/spring-security-core-3.1.2.RELEASE.jar contains the class 'org.springframework.security.core.userdetails.UserDetails'

Installation:

  • git clone <jarfinder repo>
  • To install to ~/bin (with wrapper script):
    • ant install
    • Test with jarfinder JarFinder
  • To just build a jar:
    • ant dist

About

Recursively search one or more directories for jar files containing a given class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages