So I have a journal again. Please pardon me if I don't update it regularly -- I decided not to go with wordpress or bloxspot and did a really bad job replacing them, so it's a big pain to write journal entries for me. I prayed for help, no answer so far. Maybe my prayer got stuck in spam filter.
Lately I've been dealing with packaging of rather larger Java applications with rather long list of dependenies. To ease the work and help me decide what to package first I've created a rather quick and dirty, yet somewhat useful Perl script to visualize the dependency chain.
There are probably better tools to do this, yet you may find using a simple script useful, here it is:
http://fedorapeople.org/~lkundrak/jargraph.pl
And here's how it's used (you'll need GraphViz installed):
$ wget -q http://gerrit.googlecode.com/files/gerrit-2.1.2.4.war $ jar xf gerrit-2.1.2.4.war $ perl jargraph.pl WEB-INF/lib/*jar >gerrit.dot $ dot -Tsvg gerrit.dot >gerrit.svg $
Source code to the entries and scripts that format this site are available on github. Text of journal entries is licensed under CC-BY-SA license.
Mail questions, comments and pizza to lkundrak@v3.sk