https://issues.apache.org/bugzilla/show_bug.cgi?id=57079
Bug ID: 57079 Summary: Use Tomcat version number in jdbc-pool manifest when building it as part of Tomcat Product: Tomcat 8 Version: 8.0.14 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Packaging Assignee: dev@tomcat.apache.org Reporter: knst.koli...@gmail.com Looking into tomcat-jdbc.jar/META-INF/MANIFEST.MF file, Actual behaviour: currently (e.g. for 8.0.14) it contains: [[[ Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.0 Created-By: 11.0-b16 (Sun Microsystems Inc.) Export-Package: org.apache.tomcat.jdbc.naming;uses:="javax.naming,org. apache.juli.logging,javax.naming.spi";version="1.1.0.1",org.apache.to mcat.jdbc.pool;uses:="org.apache.juli.logging,javax.sql,org.apache.to mcat.jdbc.pool.jmx,javax.management,javax.naming,javax.naming.spi,org .apache.tomcat.jdbc.pool.interceptor";version="1.1.0.1",org.apache.to mcat.jdbc.pool.interceptor;uses:="org.apache.tomcat.jdbc.pool,org.apa che.juli.logging,javax.management.openmbean,javax.management";version ="1.1.0.1",org.apache.tomcat.jdbc.pool.jmx;uses:="org.apache.tomcat.j dbc.pool,org.apache.juli.logging,javax.management";version="1.1.0.1" Bundle-Vendor: Apache Software Foundation Bundle-Version: 1.1.0.1 Bundle-Name: Apache Tomcat JDBC Connection Pool Bundle-ManifestVersion: 2 Bundle-SymbolicName: org.apache.tomcat.jdbc Import-Package: javax.management;version="0", javax.management.openmb ean;version="0", javax.naming;version="0", javax.naming.spi;version=" 0", javax.sql;version="0", org.apache.juli.logging;version="0" ]]] It is generated from template in modules/jdbc-pool/resources/MANIFEST.MF Expected behaviour: 1) I expected "Ant-Version: Apache Ant 1.8.4", because that was the version of Ant used to build Tomcat 8.0.14. "Ant-Version: Apache Ant 1.7.0" is hard-coded in template file. 2) "Bundle-Version: 1.1.0.1" and versions in "Export-Package" to be 8.0.14. The goal is to discern different builds of JDBC Pool. I guess it boils down to passing relevant ${version} property when invoking its build file from Tomcat one. Can we change that "1.1.0.1" to be "8.0.14", or there will be any problems? As this issue involves OSGi, a better reference would be bug 52381. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org