use of org.apache.ivy.osgi.core.BundleArtifact in project ant-ivy by apache.
the class BundleRepoDescriptor method populate.
public void populate(Iterator<ManifestAndLocation> it) {
while (it.hasNext()) {
ManifestAndLocation manifestAndLocation = it.next();
try {
BundleInfo bundleInfo = ManifestParser.parseManifest(manifestAndLocation.getManifest());
bundleInfo.addArtifact(new BundleArtifact(false, manifestAndLocation.getUri(), null));
addBundle(bundleInfo);
} catch (ParseException e) {
Message.error("Rejected " + manifestAndLocation.getUri() + ": " + e.getMessage());
}
}
}
Aggregations