Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 734 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 734 Bytes

JarSerialver

Clone of serialver utility which works with JARs

Using this utility you can get SerialVersionUIDs for all classes in JAR file.

##Usage:

java -jar jarserialver.jar --file <your-lib.jar> --classpath <classpath with your jar and dependencies>

additionally you can ignore anonymous classes with --ignore-anonymous option and limit classes by package with --package option:

java -jar jarserialver.jar --file <your-lib.jar> --classpath <classpath with your jar and dependencies> -a --package <your package>

To generate a long classpath from a directory use this snippet:

--classpath $(echo lib/*.jar | tr ' ' ':')

Build

To build this project use SBT:

sbt assembly