From: Scott M S. (JIRA) <jir...@jb...> - 2005-09-11 07:36:27
|
The specification info in the jboss-cache.jar manifest is incorrect. -------------------------------------------------------------------- Key: JBCACHE-292 URL: http://jira.jboss.com/jira/browse/JBCACHE-292 Project: JBoss Cache Type: Bug Reporter: Scott M Stark Assigned to: Bela Ban The current jboss-cache.jar manifest incorrectly nests the specification headers in a JBossCache section: <target name="manifest"> <tstamp/> <mkdir dir="${dist.lib}"/> <manifest file="${manifest.file}"> <attribute name="Built-By" value="${user.name}"/> <attribute name="Created-On" value="${TODAY}"/> <attribute name="Main-Class" value="org.jboss.cache.Version"/> <section name="JBossCache"> <attribute name="Specification-Title" value="JBossCache"/> <attribute name="Specification-Version" value="${module.version}"/> <attribute name="Specification-Vendor" value="JBoss Inc."/> <attribute name="Implementation-Title" value="${module.name}"/> <attribute name="Implementation-Version" value="${module.version}"/> <attribute name="Implementation-Vendor" value="JBoss Inc."/> </section> </manifest> </target> this results in an invalid jar manifest in terms of the extcheck utility: [starksm@banshee9100 JBossCache]$ extcheck -verbose dist/lib/jboss-cache.jar Target file:dist\lib\jboss-cache.jar The target file does not have a specification title The JBossCache section should simply be removed: <target name="manifest"> <tstamp/> <mkdir dir="${dist.lib}"/> <manifest file="${manifest.file}"> <attribute name="Built-By" value="${user.name}"/> <attribute name="Created-On" value="${TODAY}"/> <attribute name="Main-Class" value="org.jboss.cache.Version"/> <attribute name="Specification-Title" value="JBossCache"/> <attribute name="Specification-Version" value="${module.version}"/> <attribute name="Specification-Vendor" value="JBoss Inc."/> <attribute name="Implementation-Title" value="${module.name}"/> <attribute name="Implementation-Version" value="${module.version}"/> <attribute name="Implementation-Vendor" value="JBoss Inc."/> </manifest> </target> [starksm@banshee9100 JBossCache]$ !ext extcheck -verbose dist/lib/jboss-cache.jar Target file:dist\lib\jboss-cache.jar Specification title:JBossCache Specification version:1.2.3.1 Specification vendor:JBoss Inc. Implementation version:1.2.3.1 Implementation vendor:JBoss Inc. Comparing with file:/C:/usr/java/jdk1.5.0_03/jre/lib/ext/dnsns.jar Comparing with file:/C:/usr/java/jdk1.5.0_03/jre/lib/ext/localedata.jar Comparing with file:/C:/usr/java/jdk1.5.0_03/jre/lib/ext/sunjce_provider.jar Comparing with file:/C:/usr/java/jdk1.5.0_03/jre/lib/ext/sunpkcs11.jar No conflicting installed jar found. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |