build.xml
changeset 9811 7092e54834c6
parent 9371 53f34c39284d
child 9978 c7ebe8961ccb
--- a/build.xml	Fri Jan 14 10:22:49 2011 +0100
+++ b/build.xml	Fri Jan 14 11:45:47 2011 +0100
@@ -12,7 +12,7 @@
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
-* All portions are Copyright (C) 2001-2010 Openbravo SLU
+* All portions are Copyright (C) 2001-2011 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************
@@ -1028,6 +1028,10 @@
                    byline="true"/>
     
     <echo message="${hg.id}" file="${tmpdir}/config/instance.revision"/>
+	
+    <delete includeEmptyDirs="true">
+      <fileset dir="${tmpdir}/modules" includes="**/*" defaultexcludes="no"/>
+    </delete>
     
     <zip destfile="${basedir}/core-${core.rev}.obx" basedir="${tmpdir}"/>