November 2011
1 post
3 tags
Java dependencies
A little python snippet for creating dot-representation of the dependencies in a java app. Let this little baby chew on your target/classes dir and you will get a dot-file on stdout. #!/usr/bin/env python import re import os import sys from os.path import join, basename LIB_REG_EXP = re.compile('[,+L#][a-z][A-Za-z0-9/]+') PACKAGE_FILTER = '' CLASS_PREFIX_REMOVE = '' if len(sys.argv) >...
Nov 10th