From 0c44c7edf891e5a856173d4bd1231732323d664b Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 16 Feb 2010 17:23:23 +0000 Subject: [PATCH] Manifest improvements - automate copyright year - add manifests for el & annotations - improve default NOTICE - add info to bootstrap manifest git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910604 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 38 +++++++++++++++++++------------ res/META-INF/annotations-api.jar.manifest | 11 +++++++++ res/META-INF/bootstrap.jar.manifest | 10 ++++++-- res/META-INF/default.notice | 3 +++ res/META-INF/el-api.jar.manifest | 11 +++++++++ 5 files changed, 56 insertions(+), 17 deletions(-) create mode 100644 res/META-INF/annotations-api.jar.manifest create mode 100644 res/META-INF/el-api.jar.manifest diff --git a/build.xml b/build.xml index 38710a74d..6ab175fc4 100644 --- a/build.xml +++ b/build.xml @@ -52,6 +52,7 @@ + @@ -401,12 +402,17 @@ + - + + + + + @@ -415,28 +421,30 @@ + filesId="files.annotations-api" + manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> + notice="${tomcat.manifests}/servlet-api.jar.notice" + license="${tomcat.manifests}/servlet-api.jar.license" /> + notice="${tomcat.manifests}/jsp-api.jar.notice" + license="${tomcat.manifests}/jsp-api.jar.license" /> + filesId="files.el-api" + manifest="${tomcat.manifests}/el-api.jar.manifest" /> - - - - - - @@ -1872,9 +1880,9 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. + default="${tomcat.manifests}/default.notice" /> + default="${tomcat.manifests}/default.license" /> diff --git a/res/META-INF/annotations-api.jar.manifest b/res/META-INF/annotations-api.jar.manifest new file mode 100644 index 000000000..ea722680a --- /dev/null +++ b/res/META-INF/annotations-api.jar.manifest @@ -0,0 +1,11 @@ +Manifest-version: 1.0 + +Name: javax/servlet/ +Specification-Title: Java API for Servlets (Annotations) +Specification-Version: 3.0 +Specification-Vendor: Sun Microsystems, Inc. +Implementation-Title: javax.servlet +Implementation-Version: 3.0.@servlet.revision@ +Implementation-Vendor: Apache Software Foundation +X-Compile-Source-JDK: @source.jdk@ +X-Compile-Target-JDK: @target.jdk@ diff --git a/res/META-INF/bootstrap.jar.manifest b/res/META-INF/bootstrap.jar.manifest index 7489eeb6a..74d542550 100644 --- a/res/META-INF/bootstrap.jar.manifest +++ b/res/META-INF/bootstrap.jar.manifest @@ -1,5 +1,11 @@ Manifest-Version: 1.0 Main-Class: org.apache.catalina.startup.Bootstrap Class-Path: commons-daemon.jar -Specification-Title: Catalina -Specification-Version: @VERSION_MAJOR_MINOR@ \ No newline at end of file +Specification-Title: Apache Tomcat Bootstrap +Specification-Version: @VERSION_MAJOR_MINOR@ +Specification-Vendor: Apache Software Foundation +Implementation-Title: Apache Tomcat Bootstrap +Implementation-Version: @VERSION@ +Implementation-Vendor: Apache Software Foundation +X-Compile-Source-JDK: @source.jdk@ +X-Compile-Target-JDK: @target.jdk@ \ No newline at end of file diff --git a/res/META-INF/default.notice b/res/META-INF/default.notice index 3f59805ce..79c89d811 100644 --- a/res/META-INF/default.notice +++ b/res/META-INF/default.notice @@ -1,2 +1,5 @@ +Apache Tomcat +Copyright 1999-@YEAR@ The Apache Software Foundation + This product includes software developed by The Apache Software Foundation (http://www.apache.org/). diff --git a/res/META-INF/el-api.jar.manifest b/res/META-INF/el-api.jar.manifest new file mode 100644 index 000000000..880f5b155 --- /dev/null +++ b/res/META-INF/el-api.jar.manifest @@ -0,0 +1,11 @@ +Manifest-version: 1.0 + +Name: javax/el/ +Specification-Title: Expression Language +Specification-Version: 2.2 +Specification-Vendor: Sun Microsystems, Inc. +Implementation-Title: javax.el +Implementation-Version: 2.2.@el.revision@ +Implementation-Vendor: Apache Software Foundation +X-Compile-Source-JDK: @source.jdk@ +X-Compile-Target-JDK: @target.jdk@ -- 2.11.0