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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user