/** * Finds a single attribute from a war manifest file. * @param war the war * @param attributeName key name of attribute * @return attribute value * @throws ModuleManagementToolException */ protected String findManifestArtibute(TFile war, String attributeName) throws ModuleManagementToolException { Manifest manifest = findManifest(war); Attributes attribs = manifest.getMainAttributes(); return attribs.getValue(attributeName); }
/** * Finds a single attribute from a war manifest file. * @param war the war * @param attributeName key name of attribute * @return attribute value * @throws ModuleManagementToolException */ protected String findManifestArtibute(TFile war, String attributeName) throws ModuleManagementToolException { Manifest manifest = findManifest(war); Attributes attribs = manifest.getMainAttributes(); return attribs.getValue(attributeName); }