return;
}
if (child.manifest != null) {
// Eclipse may have serialized a little bit weirdly
String manifest = ManifestParser.formatLines(child.manifest.trim());
BundleInfo embeddedInfo;
try {
embeddedInfo = ManifestParser.parseManifest(manifest);
} catch (IOException e) {
if (logLevel >= Message.MSG_VERBOSE) {
Message.verbose(
"The Manifest of the source bundle "
+ bundleInfo.getSymbolicName() + " could not be parsed",
e);
}
return;
} catch (ParseException e) {
if (logLevel >= Message.MSG_VERBOSE) {
Message.verbose(
"The Manifest of the source bundle "
+ bundleInfo.getSymbolicName() + " is ill formed", e);
}
return;
}
if (!embeddedInfo.isSource()) {
if (logLevel >= Message.MSG_VERBOSE) {
Message.verbose("The Manifest of the source bundle "
+ bundleInfo.getSymbolicName()
+ " is not declaring being a source.");
}
return;
}
String symbolicNameTarget = embeddedInfo.getSymbolicNameTarget();
if (symbolicNameTarget == null) {
if (logLevel >= Message.MSG_VERBOSE) {
Message.verbose("The Manifest of the source bundle "
+ bundleInfo.getSymbolicName()
+ " is not declaring a target symbolic name.");
}
return;
}
Version versionTarget = embeddedInfo.getVersionTarget();
if (versionTarget == null) {
if (logLevel >= Message.MSG_VERBOSE) {
Message.verbose("The Manifest of the source bundle "
+ bundleInfo.getSymbolicName()
+ " is not declaring a target version.");