Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David E. Jones
2006-11-08 08:23:23 +00:00
parent 0b47f77b57
commit fc96cf5ab7
33 changed files with 211 additions and 23 deletions
+6 -1
View File
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<!--
Copyright 2001-2006 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -26,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="AppServers Component"/>
<property name="name" value="ofbiz-appsvrs"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -82,6 +82,11 @@ under the License.
<!--<fileset dir="${dtd.dir}" includes="*.dtd"/>-->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+9
View File
@@ -24,6 +24,7 @@ under the License.
<target name="init">
<property environment="env"/>
<property name="name" value="ofbiz-base"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -100,6 +101,14 @@ under the License.
<copy todir="${build.dir}/classes/base">
<fileset dir="${dtd.dir}" includes="*.dtd"/>
<fileset dir="${src.dir}/base" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/start/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
<copy todir="${build.dir}/classes/base/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
@@ -1,4 +1,4 @@
Manifest-Version: 1.0
Implementation-Title: "OFBiz Startup"
Implementation-Vendor: "The Open For Business Project"
Implementation-Title: "Apache OFBiz Startup"
Implementation-Vendor: "The Apache Open For Business Project"
Main-Class: org.ofbiz.base.start.Start
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Catalina Http/Servlet Container"/>
<property name="name" value="ofbiz-catalina"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -84,6 +85,11 @@ under the License.
<!--<fileset dir="${dtd.dir}" includes="*.dtd"/>-->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -26,6 +26,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Common Component"/>
<property name="name" value="ofbiz-common"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -88,6 +89,11 @@ under the License.
<!--<fileset dir="${dtd.dir}" includes="*.dtd"/>-->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Datafile Component"/>
<property name="name" value="ofbiz-datafile"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -81,6 +82,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -26,6 +26,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Entity Component"/>
<property name="name" value="ofbiz-entity"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -85,6 +86,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -26,6 +26,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Entity Extensions Component"/>
<property name="name" value="ofbiz-entityext"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -86,6 +87,11 @@ under the License.
<!--<fileset dir="${dtd.dir}" includes="*.dtd"/>-->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Example Component"/>
<property name="name" value="ofbiz-example"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -87,6 +88,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Geronimo Transaction Manager, and possibly other too"/>
<property name="name" value="ofbiz-geronimo"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -83,6 +84,11 @@ under the License.
<!--<fileset dir="${dtd.dir}" includes="*.dtd"/>-->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="GUI App Component"/>
<property name="name" value="ofbiz-guiapp"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -87,6 +88,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Jetty Http/Servlet Container"/>
<property name="name" value="ofbiz-jetty"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -83,6 +84,11 @@ under the License.
<!--<fileset dir="${dtd.dir}" includes="*.dtd"/>-->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="MiniLang Component"/>
<property name="name" value="ofbiz-minilang"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -85,6 +86,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Security Component"/>
<property name="name" value="ofbiz-security"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -82,6 +83,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Service Component"/>
<property name="name" value="ofbiz-service"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -85,6 +86,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="stubs" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Shark Component"/>
<property name="name" value="ofbiz-shark"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -90,6 +91,11 @@ under the License.
<!--<fileset dir="${dtd.dir}" includes="*.dtd"/>-->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Test Tools Component"/>
<property name="name" value="ofbiz-testtools"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -85,6 +86,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Web App Component"/>
<property name="name" value="ofbiz-webapp"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -90,6 +91,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="WebTools Component"/>
<property name="name" value="ofbiz-webtools"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -91,6 +92,11 @@ under the License.
<!--<fileset dir="${dtd.dir}" includes="*.dtd"/>-->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Widget Component"/>
<property name="name" value="ofbiz-widget"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -90,6 +91,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">
+6
View File
@@ -25,6 +25,7 @@ under the License.
<property environment="env"/>
<property name="desc" value="Workflow Component"/>
<property name="name" value="ofbiz-workflow"/>
<property name="ofbiz.home.dir" value="../.."/>
<property name="src.dir" value="src"/>
<property name="dtd.dir" value="dtd"/>
<property name="lib.dir" value="lib"/>
@@ -85,6 +86,11 @@ under the License.
<!-- don't put the DTDs in the jar file... -->
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
</copy>
<!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
<copy todir="${build.dir}/classes/META-INF">
<fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/>
</copy>
</target>
<target name="jar" depends="classes">