public void execute(List jarList)
{
// build up complete set of required imports
for(Iterator i = jarList.iterator(); i.hasNext(); )
{
BundleJar bund = (BundleJar) i.next();
allImports.addAll(bund.getPossibleImports());
}
// for each bundle, resolve exports to imports and remove exports
// that don't match a required import
for(Iterator i = jarList.iterator(); i.hasNext(); )
{
BundleJar bund = (BundleJar) i.next();
rptOut.println("");
rptOut.println("> " + bund.getName() + " :");
Set exports = bund.getPossibleExports();
for(Iterator j = exports.iterator(); j.hasNext(); )
{
OsgiPackage pkg = (OsgiPackage) j.next();
if (allImports.contains(pkg))
{