[jboss-dev] Dependencies, class in multiple jar files, JBAS-1796, JBAS-6444

Stan Silvert ssilvert at redhat.com
Wed Feb 11 07:56:58 EST 2009


Great stuff Jay and Jesper.  We used to talk about needing tools like 
this for support that could also show classloader scoping and detect 
problems with unreachable dependencies.  I know the support guys still 
needs this.

Stan

Jay Balunas wrote:
> Jesper and I were discussing this yesterday and we also think adding 
> in features of my Delver [http://www.thefreedictionary.com/delve] tool 
> would be useful.
>
> This tool scans directories for jars and inspects the manifest.  It's 
> primary function is to report on lib versions, and locations so you 
> can identify duplicate jar files, and version mismatch.   This tool 
> was how we found 3 different hibernate versions in EAP, and duplicate 
> libs all over the place.  These could fit nicely together and could 
> provide detailed overviews of distributions.
>
> Future options include:
>  * ant tasks, and maven plugins for this.
>  * Enable scanning of war, ear, etc...
>  * trigger test failures based on various conditions
>  * maven dependency reporting
>  * etc...
>
> -Jay
>
>
>
>
> On Feb 10, 2009, at 8:04 PM, Jesper Pedersen wrote:
>
>> Hi.
>>
>> I was going over the dependencies for the JBJCA project and needed a 
>> tool to
>> get an overview of dependencies between jar files, if a class is 
>> located in
>> multiple jar files and an overview of what each jar file requires and
>> provides.
>>
>> So I hacked something together; currently called Tattletale - based on
>> javassist.jar of course.
>>
>> I have attached the report for the application server to the issue
>>
>> https://jira.jboss.org/jira/browse/JBAS-1796
>>
>> as it could provide some information about the separation of the jar 
>> files.
>>
>> If you take a look at the 'Dependencies' report
>> under "common-httpclient.jar" - you'll see
>>
>> https://jira.jboss.org/jira/browse/JBAS-6444
>>
>> just to give you an idea.
>>
>> The index.html file will provide the starting point for the various 
>> reports.
>>
>> If you think this tool would be useful I'll commit the code somewhere in
>> repository.
>>
>> Feedback is of course welcomed, but remember it is very early beta ;)
>>
>> Best regards,
>> Jesper
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development




More information about the jboss-development mailing list