version + " (" + System.getProperty("java.vm.vendor") + ")"); defaultManifest.getMainSection().storeAttribute(createdBy); return defaultManifest; } catch (UnsupportedEncodingException e) {
Section mainSection = (configuredManifest == null) ? null : configuredManifest.getMainSection();
Manifest mf = createManifest(); Manifest.Attribute classpath = mf.getMainSection().getAttribute(Manifest.ATTRIBUTE_CLASSPATH); String[] cpEntries = null; if (classpath != null && classpath.getValue() != null) {
String implVersion = AdaptNbVersion.adaptVersion( project.getVersion(), AdaptNbVersion.TYPE_IMPLEMENTATION, date ); Manifest.Section mainSection = manifest.getMainSection(); conditionallyAddAttribute( mainSection, "OpenIDE-Module-Specification-Version", specVersion );
String implVersion = AdaptNbVersion.adaptVersion( project.getVersion(), AdaptNbVersion.TYPE_IMPLEMENTATION, date ); Manifest.Section mainSection = manifest.getMainSection(); conditionallyAddAttribute( mainSection, "OpenIDE-Module-Specification-Version", specVersion );