Frank Schwarz [
http://community.jboss.org/people/fs5] created the discussion
"Re: Unable to read informations from manifest"
To view the discussion, visit:
http://community.jboss.org/message/643137#643137
--------------------------------------------------------------
Still not fixed in 7.0.2 nor in 7.1.0.CR1b. Probably reported as AS7-1970.
I see myself forced to this workaround:
URL jar = MyClass.class.getProtectionDomain().getCodeSource().getLocation();
VirtualFile jarFile = VFS.getChild(jar.toURI());
Manifest manifest = VFSUtils.getManifest(jarFile);
Attributes attributes = manifest.getMainAttributes();
String implementationTitle = attributes.getValue(Name.IMPLEMENTATION_TITLE);
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/643137#643137]
Start a new discussion in JBoss AS 7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]