| « Most of Sun's Java class library under GPL now | Splitting ant » |
ldd for Java
I have been working on a ldd like program for Java. I put this program together using bcel for class file parsing, java-config to provide a list of installed packages and jars and a SQL db abstracted by sqlalchemy.
betelgeuse@pena ~/jarindex $ java -jar "/home/betelgeuse/java/JavaLDD/dist/JavaLDD.jar" -q /usr/share/ant-junit/lib/ant-junit.jar ant-core junit
Obviously this doesn't catch everything as you can load classes that provide an API dynamically but neither does ldd show dlopened shared libraries.
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
2 comments
Nope but wouldn't be that hard to write some code parsing imports in python code.
05/04/07 @ 18:21
Comments are closed for this post.