_symbolicName = appName;
_version = appVersion;
_requirements = new Requirement[appContent.size()];
for (int i = 0; i < _requirements.length; i++) {
Content c = appContent.get(i);
String comment = "Requires " + Resource.SYMBOLIC_NAME + " " + c.getContentName()
+ " with attributes " + c.getAttributes();
String resolution = c.getDirective("resolution");
boolean optional = Boolean.valueOf(resolution);
String f = ManifestHeaderProcessor.generateFilter(Resource.SYMBOLIC_NAME, c.getContentName(), c.getAttributes());
Filter filter = repositoryAdmin.getHelper().filter(f);
_requirements[i] = new RequirementImpl("bundle", filter, false, optional, false, comment);
}
}