From b1fb1ded2b31ef3a243fc7618bcb429b41908f9d Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 11 Sep 2009 17:33:07 +0000 Subject: [PATCH] Since individual jars are made available for download, really should have LICENSE and NOTICE embedded in the JAR files. This patch enables per-jar NOTICE, LICENSE and manifest files with most using the defaults. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813936 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 204 +++++----- extras.xml | 38 +- res/{ => META-INF}/bootstrap.jar.manifest | 0 res/META-INF/{LICENSE => default.license} | 0 res/META-INF/default.manifest | 5 + res/META-INF/{NOTICE => default.notice} | 0 res/META-INF/jasper-jdt.jar.license | 424 +++++++++++++++++++++ res/META-INF/jasper-jdt.jar.notice | 10 + res/{ => META-INF}/jsp-api.jar.manifest | 2 +- res/META-INF/servlet-api.jar.license | 552 ++++++++++++++++++++++++++++ res/{ => META-INF}/servlet-api.jar.manifest | 2 +- res/META-INF/servlet-api.jar.notice | 17 + 12 files changed, 1160 insertions(+), 94 deletions(-) rename res/{ => META-INF}/bootstrap.jar.manifest (100%) rename res/META-INF/{LICENSE => default.license} (100%) create mode 100644 res/META-INF/default.manifest rename res/META-INF/{NOTICE => default.notice} (100%) create mode 100644 res/META-INF/jasper-jdt.jar.license create mode 100644 res/META-INF/jasper-jdt.jar.notice rename res/{ => META-INF}/jsp-api.jar.manifest (85%) create mode 100644 res/META-INF/servlet-api.jar.license rename res/{ => META-INF}/servlet-api.jar.manifest (85%) create mode 100644 res/META-INF/servlet-api.jar.notice diff --git a/build.xml b/build.xml index d2f50a75d..1d5c2c41e 100644 --- a/build.xml +++ b/build.xml @@ -54,10 +54,12 @@ + + @@ -290,130 +292,154 @@ + + + - - - - - - - - + + + + + + + + + + - - + + + + + + + + + + + + + - + - - - - - - - - - - - - - + - - - - - - - - - - - - - + - + - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + + + - + + + - + + + @@ -660,7 +686,7 @@ + depends="build-prepare,build-manifests,compile" > @@ -671,7 +697,9 @@ + filesId="files.tomcat-embed-core" + notice="res/META-INF/default.notice" + license="res/META-INF/default.license"/> + @@ -773,7 +802,8 @@ + description="Download (and build as necessary) dependent components" + depends="build-manifests"> @@ -890,22 +920,32 @@ + index="true" + manifest="${tomcat.tmp}/default.manifest"> + + - + + + diff --git a/extras.xml b/extras.xml index 435ca633a..588c0b0ed 100644 --- a/extras.xml +++ b/extras.xml @@ -57,7 +57,9 @@ + + @@ -129,7 +131,8 @@ dir="${tomcat.extras}/logging/commons-logging-${commons-logging-version}-src" target="compile" /> - + @@ -137,8 +140,6 @@ - - @@ -149,21 +150,28 @@ + + - + - - + + @@ -208,13 +216,18 @@ - + + + @@ -224,10 +237,15 @@ - - + + - + + +