Author: doogie
Date: Thu Aug 14 08:10:34 2008
New Revision: 685935
URL:
http://svn.apache.org/viewvc?rev=685935&view=revLog:
Bah, forgot to save this before checking in.
Modified:
ofbiz/trunk/common.xml
Modified: ofbiz/trunk/common.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/common.xml?rev=685935&r1=685934&r2=685935&view=diff==============================================================================
--- ofbiz/trunk/common.xml (original)
+++ ofbiz/trunk/common.xml Thu Aug 14 08:10:34 2008
@@ -52,8 +52,16 @@
<mkdir dir="${build.dir}/javadocs"/>
</target>
- <target name="jar" depends="classes">
- <jar jarfile="${build.dir}/lib/${name}.jar" basedir="${build.dir}/classes"/>
+ <target name="jar" depends="classes">
+ <jar jarfile="${build.dir}/lib/${name}.jar">
+ <fileset dir="${build.dir}/classes"/>
+ <fileset dir="${src.dir}">
+ <include name="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
+ <include name="META-INF/**"/>
+ </fileset>
+ <!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone -->
+ <zipfileset dir="${ofbiz.home.dir}" prefix="META-INF" includes="NOTICE,LICENSE"/>
+ </jar>
</target>
<target name="all" depends="jar,docs"/>