JBoss Tattletale works on JAR files - so you need to package all your .class files up.
Then run Tattletale on your JAR files + the lib directory, I guess.
In short: put all JAR files in a directory and point Tattletale to that.
I still get the "Java heap space" error. My jar is 1015 KB only and it contains just my classes. My lib is 123 MB. Is there a way I can setup logging to know what exactly could be wrong. Am surprised that a machine with 2 gigs isnt good enough.
Have you tried
java -Xmx1024m -jar jboss-tattletale.jar /path/to/directory output
What do you mean by "My lib is 123MB" ? Not a single JAR file, I hope...
There you go. THE OUTPUT IS BRILLIANT. I should have thought abt that! Thanks. When talking about the lib, I meant the lib folder which contains all my external jars referenced by the app.
I have another question, Jar are hyperlinked and classes arent. Is there a way that can point me to where these classes are referenced from? As in, Could the references just be to the jars and when I click on it, it should tell me what classes in the jars are being referred to etc?
1.0.Beta2 records inter-archive dependencies.
1.0.Beta3 will record inter-package dependencies -- needed for the OSGi report.
I think you are talking about inter-class dependencies, right ?
If you mean class->JAR file links -- the problem here is that the same .class file can be in multiple JAR files. See the "Multiple Locations" report.
If you just need an overview of where the .class is - see the "Class Location" report.
Yup that was great. Was wondering if that could be interwoven somehow. I like all the reports seen especially the multiple ones. Thanks for the tool
Sure, will do.