OSGi MANIFEST.MF files browser
We're developing a big application using osgi (felix, spring-dm, maven-plugin). I'd like to add to the doc a complete graph of all dependencies (import/export from each bundle). This is both for documentation and to double check if there are wrong versions or incompatible requirement somewhere.
Is there a tool that would go across all the bundle (in jar format) get the manifest file and display the graph? or at least produce a complete list of all the required bundles?
In case it doesn't exist do you think it woul开发者_开发百科d be a good idea for us to write it ourselves?
Such a thing already exists for Eclipse with PDE ... the blog post here shows a generic PDE solution and the other here shows the Spring Tool Suite solution.
Install URL: http://download.eclipse.org/eclipse/pde/incubator/visualization/site/
Project page: http://www.eclipse.org/pde/incubator/dependency-visualization/index.php
See also post here for instructions for the generic PDE solution:
- Show View -> Plug-in Development -> Graph Plug-in dependencies
- Right-Click in the view -> select Focus-on
- Select a Plug-in using Eclipse' standard plugin chooser
- enjoy
精彩评论