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