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
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">