Author: jonesde Date: Wed Nov 8 00:23:23 2006 New Revision: 472422 URL: http://svn.apache.org/viewvc?view=rev&rev=472422 Log: Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
Modified: incubator/ofbiz/trunk/applications/accounting/build.xml incubator/ofbiz/trunk/applications/content/build.xml incubator/ofbiz/trunk/applications/ecommerce/build.xml incubator/ofbiz/trunk/applications/humanres/build.xml incubator/ofbiz/trunk/applications/manufacturing/build.xml incubator/ofbiz/trunk/applications/marketing/build.xml incubator/ofbiz/trunk/applications/order/build.xml incubator/ofbiz/trunk/applications/party/build.xml incubator/ofbiz/trunk/applications/pos/build.xml incubator/ofbiz/trunk/applications/product/build.xml incubator/ofbiz/trunk/applications/securityext/build.xml incubator/ofbiz/trunk/applications/workeffort/build.xml incubator/ofbiz/trunk/framework/appserver/build.xml incubator/ofbiz/trunk/framework/base/build.xml incubator/ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Start.mf incubator/ofbiz/trunk/framework/catalina/build.xml incubator/ofbiz/trunk/framework/common/build.xml incubator/ofbiz/trunk/framework/datafile/build.xml incubator/ofbiz/trunk/framework/entity/build.xml incubator/ofbiz/trunk/framework/entityext/build.xml incubator/ofbiz/trunk/framework/example/build.xml incubator/ofbiz/trunk/framework/geronimo/build.xml incubator/ofbiz/trunk/framework/guiapp/build.xml incubator/ofbiz/trunk/framework/jetty/build.xml incubator/ofbiz/trunk/framework/minilang/build.xml incubator/ofbiz/trunk/framework/security/build.xml incubator/ofbiz/trunk/framework/service/build.xml incubator/ofbiz/trunk/framework/shark/build.xml incubator/ofbiz/trunk/framework/testtools/build.xml incubator/ofbiz/trunk/framework/webapp/build.xml incubator/ofbiz/trunk/framework/webtools/build.xml incubator/ofbiz/trunk/framework/widget/build.xml incubator/ofbiz/trunk/framework/workflow/build.xml Modified: incubator/ofbiz/trunk/applications/accounting/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/accounting/build.xml (original) +++ incubator/ofbiz/trunk/applications/accounting/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <property environment="env"/> <property name="desc" value="Accounting Component"/> <property name="name" value="ofbiz-accounting"/> + <property name="ofbiz.home.dir" value="../.."/> <property name="src.dir" value="src"/> <property name="dtd.dir" value="dtd"/> <property name="lib.dir" value="lib"/> @@ -101,6 +102,11 @@ <!--<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"> Modified: incubator/ofbiz/trunk/applications/content/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/content/build.xml (original) +++ incubator/ofbiz/trunk/applications/content/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <property environment="env"/> <property name="desc" value="Content Component"/> <property name="name" value="ofbiz-content"/> + <property name="ofbiz.home.dir" value="../.."/> <property name="src.dir" value="src"/> <property name="dtd.dir" value="dtd"/> <property name="lib.dir" value="lib"/> @@ -95,6 +96,11 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/applications/ecommerce/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/ecommerce/build.xml (original) +++ incubator/ofbiz/trunk/applications/ecommerce/build.xml Wed Nov 8 00:23:23 2006 @@ -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 @@ <property environment="env"/> <property name="desc" value="Ecommerce Component"/> <property name="name" value="ofbiz-ecommerce"/> + <property name="ofbiz.home.dir" value="../.."/> <property name="src.dir" value="src"/> <property name="dtd.dir" value="dtd"/> <property name="lib.dir" value="lib"/> @@ -94,6 +94,11 @@ <!--<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"> Modified: incubator/ofbiz/trunk/applications/humanres/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/humanres/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/humanres/build.xml (original) +++ incubator/ofbiz/trunk/applications/humanres/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <property environment="env"/> <property name="desc" value="Human Resources"/> <property name="name" value="ofbiz-humanres"/> + <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 @@ <!--<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"> Modified: incubator/ofbiz/trunk/applications/manufacturing/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/manufacturing/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/manufacturing/build.xml (original) +++ incubator/ofbiz/trunk/applications/manufacturing/build.xml Wed Nov 8 00:23:23 2006 @@ -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 @@ <property environment="env"/> <property name="desc" value="Manufacturing Component"/> <property name="name" value="ofbiz-manufacturing"/> + <property name="ofbiz.home.dir" value="../.."/> <property name="src.dir" value="src"/> <property name="dtd.dir" value="dtd"/> <property name="lib.dir" value="lib"/> @@ -94,6 +94,11 @@ <!--<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"> Modified: incubator/ofbiz/trunk/applications/marketing/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/marketing/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/marketing/build.xml (original) +++ incubator/ofbiz/trunk/applications/marketing/build.xml Wed Nov 8 00:23:23 2006 @@ -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 @@ <property environment="env"/> <property name="desc" value="Marketing Component"/> <property name="name" value="ofbiz-marketing"/> + <property name="ofbiz.home.dir" value="../.."/> <property name="src.dir" value="src"/> <property name="dtd.dir" value="dtd"/> <property name="lib.dir" value="lib"/> @@ -93,6 +93,11 @@ <!--<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"> Modified: incubator/ofbiz/trunk/applications/order/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/order/build.xml (original) +++ incubator/ofbiz/trunk/applications/order/build.xml Wed Nov 8 00:23:23 2006 @@ -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 @@ <property environment="env"/> <property name="desc" value="Order Component"/> <property name="name" value="ofbiz-order"/> + <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 +100,11 @@ <!--<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"> Modified: incubator/ofbiz/trunk/applications/party/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/party/build.xml (original) +++ incubator/ofbiz/trunk/applications/party/build.xml Wed Nov 8 00:23:23 2006 @@ -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 @@ <property environment="env"/> <property name="desc" value="Party Component"/> <property name="name" value="ofbiz-party"/> + <property name="ofbiz.home.dir" value="../.."/> <property name="src.dir" value="src"/> <property name="dtd.dir" value="dtd"/> <property name="lib.dir" value="lib"/> @@ -89,6 +89,11 @@ <!--<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"> Modified: incubator/ofbiz/trunk/applications/pos/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/pos/build.xml (original) +++ incubator/ofbiz/trunk/applications/pos/build.xml Wed Nov 8 00:23:23 2006 @@ -1,16 +1,18 @@ <?xml version="1.0"?> -<!-- - Licensed under the Apache License, Version 2.0 (the "License"); you may not - use this file except in compliance with the License. You may obtain a copy of - the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - License for the specific language governing permissions and limitations - under the License. +<!-- +Copyright 2001-2006 The Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. --> <project name="OFBiz - POS" default="jar" basedir="."> @@ -23,6 +25,7 @@ <property environment="env"/> <property name="desc" value="POS Component"/> <property name="name" value="ofbiz-pos"/> + <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 +94,11 @@ <copy todir="${build.dir}/classes"> <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"> Modified: incubator/ofbiz/trunk/applications/product/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/product/build.xml (original) +++ incubator/ofbiz/trunk/applications/product/build.xml Wed Nov 8 00:23:23 2006 @@ -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 @@ <property environment="env"/> <property name="desc" value="Product Component"/> <property name="name" value="ofbiz-product"/> + <property name="ofbiz.home.dir" value="../.."/> <property name="src.dir" value="src"/> <property name="dtd.dir" value="dtd"/> <property name="lib.dir" value="lib"/> @@ -106,6 +106,11 @@ <!--<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"> Modified: incubator/ofbiz/trunk/applications/securityext/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/securityext/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/securityext/build.xml (original) +++ incubator/ofbiz/trunk/applications/securityext/build.xml Wed Nov 8 00:23:23 2006 @@ -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 @@ <property environment="env"/> <property name="desc" value="Security Extensions Component"/> <property name="name" value="ofbiz-securityext"/> + <property name="ofbiz.home.dir" value="../.."/> <property name="src.dir" value="src"/> <property name="dtd.dir" value="dtd"/> <property name="lib.dir" value="lib"/> @@ -95,6 +95,11 @@ <!--<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"> Modified: incubator/ofbiz/trunk/applications/workeffort/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/workeffort/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/applications/workeffort/build.xml (original) +++ incubator/ofbiz/trunk/applications/workeffort/build.xml Wed Nov 8 00:23:23 2006 @@ -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 @@ <property environment="env"/> <property name="desc" value="Work Effort Component"/> <property name="name" value="ofbiz-workeffort"/> + <property name="ofbiz.home.dir" value="../.."/> <property name="src.dir" value="src"/> <property name="dtd.dir" value="dtd"/> <property name="lib.dir" value="lib"/> @@ -89,6 +89,11 @@ <!--<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"> Modified: incubator/ofbiz/trunk/framework/appserver/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/appserver/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/appserver/build.xml (original) +++ incubator/ofbiz/trunk/framework/appserver/build.xml Wed Nov 8 00:23:23 2006 @@ -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 @@ <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 @@ <!--<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"> Modified: incubator/ofbiz/trunk/framework/base/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/base/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/base/build.xml (original) +++ incubator/ofbiz/trunk/framework/base/build.xml Wed Nov 8 00:23:23 2006 @@ -24,6 +24,7 @@ <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 @@ <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> Modified: incubator/ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Start.mf URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Start.mf?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Start.mf (original) +++ incubator/ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Start.mf Wed Nov 8 00:23:23 2006 @@ -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 Modified: incubator/ofbiz/trunk/framework/catalina/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/catalina/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/catalina/build.xml (original) +++ incubator/ofbiz/trunk/framework/catalina/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!--<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"> Modified: incubator/ofbiz/trunk/framework/common/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/common/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/common/build.xml (original) +++ incubator/ofbiz/trunk/framework/common/build.xml Wed Nov 8 00:23:23 2006 @@ -26,6 +26,7 @@ <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 @@ <!--<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"> Modified: incubator/ofbiz/trunk/framework/datafile/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/datafile/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/datafile/build.xml (original) +++ incubator/ofbiz/trunk/framework/datafile/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/entity/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/entity/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/entity/build.xml (original) +++ incubator/ofbiz/trunk/framework/entity/build.xml Wed Nov 8 00:23:23 2006 @@ -26,6 +26,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/entityext/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/entityext/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/entityext/build.xml (original) +++ incubator/ofbiz/trunk/framework/entityext/build.xml Wed Nov 8 00:23:23 2006 @@ -26,6 +26,7 @@ <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 @@ <!--<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"> Modified: incubator/ofbiz/trunk/framework/example/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/example/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/example/build.xml (original) +++ incubator/ofbiz/trunk/framework/example/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/geronimo/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/geronimo/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/geronimo/build.xml (original) +++ incubator/ofbiz/trunk/framework/geronimo/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!--<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"> Modified: incubator/ofbiz/trunk/framework/guiapp/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/guiapp/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/guiapp/build.xml (original) +++ incubator/ofbiz/trunk/framework/guiapp/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/jetty/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/jetty/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/jetty/build.xml (original) +++ incubator/ofbiz/trunk/framework/jetty/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!--<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"> Modified: incubator/ofbiz/trunk/framework/minilang/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/minilang/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/minilang/build.xml (original) +++ incubator/ofbiz/trunk/framework/minilang/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/security/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/security/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/security/build.xml (original) +++ incubator/ofbiz/trunk/framework/security/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/service/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/service/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/service/build.xml (original) +++ incubator/ofbiz/trunk/framework/service/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/shark/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/shark/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/shark/build.xml (original) +++ incubator/ofbiz/trunk/framework/shark/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!--<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"> Modified: incubator/ofbiz/trunk/framework/testtools/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/testtools/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/testtools/build.xml (original) +++ incubator/ofbiz/trunk/framework/testtools/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/webapp/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webapp/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/webapp/build.xml (original) +++ incubator/ofbiz/trunk/framework/webapp/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/webtools/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/build.xml (original) +++ incubator/ofbiz/trunk/framework/webtools/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!--<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"> Modified: incubator/ofbiz/trunk/framework/widget/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/widget/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/widget/build.xml (original) +++ incubator/ofbiz/trunk/framework/widget/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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"> Modified: incubator/ofbiz/trunk/framework/workflow/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/workflow/build.xml?view=diff&rev=472422&r1=472421&r2=472422 ============================================================================== --- incubator/ofbiz/trunk/framework/workflow/build.xml (original) +++ incubator/ofbiz/trunk/framework/workflow/build.xml Wed Nov 8 00:23:23 2006 @@ -25,6 +25,7 @@ <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 @@ <!-- 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">