build.xml
changeset 4280 a2f6c1f8d4fb
parent 4279 959b1cd36773
child 4287 d3aa261a64fc
--- a/build.xml	Mon Jul 06 15:01:12 2009 +0200
+++ b/build.xml	Mon Jul 06 15:52:08 2009 +0200
@@ -853,7 +853,7 @@
     <chmod file="config/setup-properties-${osname}${osarch}.${bin.ext}" perm="+x" />
   </target>
 
-  <target name="package.core" depends="set.version.number">
+  <target name="package.core" depends="init, set.version.number">
 	<property name="tmpdir" value="${java.io.tmpdir}/ob.core${core.rev}" />
    
   	<exec executable="hg" >
@@ -866,6 +866,8 @@
                    replace="\1${core.rev}\3"
                    byline="true"/>
     
+    <echo message="${hg.id}" file="${tmpdir}/config/instance.revision"/>
+    
     <zip destfile="${basedir}/core-${core.rev}.obx" basedir="${tmpdir}"/>
     
     <delete dir="${tmpdir}"/>