Perhaps something like JDepend would be better suited to this type of analysis.
On 5/27/10 8:53 AM, Thiago Souza wrote: > Hi, > > Ok than, thanks for the info... My current problem is that I'm > bundling a jar and bnd is generating import-package with dependencies that > are not accepted in my situation (like sun.io and junit.framework). If I > could see what classes are importing this stuff I could check the source to > see if it could be removed (the source is kinda huge)... > > Regards > > On Thu, May 27, 2010 at 9:44 AM, Richard S. Hall <[email protected]>wrote: > >> On 5/27/10 8:25, Thiago Souza wrote: >> >>> Hi, >>> >>> I already knew this... but couldn't find any bnd configuration for >>> this, >>> maybe someone knows... >>> >>> >> >> I think if you just do "java -jar bnd.jar <jar-file>" this will print out a >> bunch of information including which packages use which packages, but I >> don't know how to get finer-grained information (e.g., which class uses >> which classes). >> >> -> richard >> >> >> Regards >>> >>> On Thu, May 27, 2010 at 7:07 AM, Stefano Lenzi<[email protected]> >>> wrote: >>> >>> >>> >>>> On 26/05/2010 23.11, Thiago Souza wrote: >>>> >>>> >>>> >>>>> Hi there, >>>>> >>>>> Is there any way to turn enable a trace log for the >>>>> Import-Package computation? >>>>> >>>>> >>>>> >>>> As far as I know the maxium log that you can obtain is by using the flag >>>> -X >>>> and -e of maven. Moreover, the maven-bundle-plugin is mostly a wrapper of >>>> the BND tool, which computes the Import-Package >>>> >>>> >>>> >>>> >>>>> Thanks, >>>>> Thiago Souza >>>>> >>>>> >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>>> >>>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

