Apache Lucene open-source search software
LUCENE-907: Include LICENSE.TXT and NOTICE.TXT in the META-INF dirs of demo war, demo jar, and the contrib jars.
Michael Busch8c62eb41a420
diff --git a/CHANGES.txt b/CHANGES.txtindex a30d2a7d73c..4cfacbcc3af 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -263,6 +263,9 @@ Build5. LUCENE-904: The "package" targets in build.xml now also generate .md5checksum files. (Chris Hostetter, Michael Busch)+ 6. LUCENE-907: Include LICENSE.TXT and NOTICE.TXT in the META-INF dirs of+ demo war, demo jar, and the contrib jars. (Michael Busch)+======================= Release 2.1.0 2007-02-14 =======================Changes in runtime behaviordiff --git a/build.xml b/build.xmlindex f5e47f8367f..3514b099ec5 100644--- a/build.xml+++ b/build.xml@@ -92,8 +92,12 @@<jardestfile="${build.dir}/${demo.name}.jar"basedir="${build.dir}/classes/demo"- excludes="**/*.java"- />+ excludes="**/*.java">+ <metainf dir="${common.dir}">+ <include name="LICENSE.txt"/>+ <include name="NOTICE.txt"/>+ </metainf>+ </jar></target><target name="war-demo" depends="jar-core,jar-demo">@@ -102,6 +106,10 @@<fileset dir="src/jsp" excludes="WEB-INF/web.xml"/><lib dir="${build.dir}" includes="${demo.name}.jar"/><lib dir="${build.dir}" includes="${final.name}.jar"/>+ <metainf dir="${common.dir}">+ <include name="LICENSE.txt"/>+ <include name="NOTICE.txt"/>+ </metainf></war></target>diff --git a/common-build.xml b/common-build.xmlindex ff35dab6009..81347d75899 100644--- a/common-build.xml+++ b/common-build.xml@@ -160,7 +160,7 @@<attribute name="Implementation-Vendor" value="Lucene"/></section></manifest>- <metainf dir=".">+ <metainf dir="${common.dir}"><include name="LICENSE.txt"/><include name="NOTICE.txt"/></metainf>@@ -343,3 +343,4 @@</project>+diff --git a/src/demo/demo-build.template b/src/demo/demo-build.templateindex d46576926a7..810bbde6d4b 100644--- a/src/demo/demo-build.template+++ b/src/demo/demo-build.template@@ -49,8 +49,12 @@<jardestfile="${demo.name}.jar"basedir="${build.dir}/classes/demo"- excludes="**/*.java"- />+ excludes="**/*.java">+ <metainf dir="${common.dir}">+ <include name="LICENSE.txt"/>+ <include name="NOTICE.txt"/>+ </metainf>+ </jar></target><target name="war-demo" depends="jar-demo"@@ -60,6 +64,10 @@<fileset dir="src/jsp" excludes="WEB-INF/web.xml"/><lib dir="." includes="${demo.name}.jar"/><lib dir="." includes="${core.name}.jar"/>+ <metainf dir="${common.dir}">+ <include name="LICENSE.txt"/>+ <include name="NOTICE.txt"/>+ </metainf></war></target>