Commit af488271 authored by ebruneton's avatar ebruneton
Browse files

fixed bug in target dependencies

parent 528c92e6
......@@ -74,6 +74,10 @@
<isset property="objectweb.ant.tasks.path"/>
</and>
</condition>
<condition property="product.shrink">
<not><isset property="product.noshrink"/></not>
</condition>
</target>
<!-- ================================== -->
......@@ -107,7 +111,7 @@
<!-- ========== COMPILE ========== -->
<!-- =================================== -->
<target name="compile" depends="init">
<target name="compile-debug" depends="init">
<mkdir dir="${out.build}/tmp"/>
<javac destdir="${out.build}/tmp" debug="on" source="1.3" target="1.2">
<classpath>
......@@ -118,13 +122,7 @@
</javac>
</target>
<target name="shrink.check">
<condition property="product.shrink">
<not><isset property="product.noshrink"/></not>
</condition>
</target>
<target name="shrink" depends="compile,shrink.check" if="product.shrink">
<target name="shrink" depends="compile-debug" if="product.shrink">
<echo message="Shrinking"/>
<java classname="org.objectweb.asm.optimizer.Shrinker">
<classpath>
......@@ -135,6 +133,8 @@
<arg value="${out.build}"/>
</java>
</target>
<target name="compile" depends="compile-debug,shrink"/>
<!-- =================================== -->
<!-- ========== TEST ========== -->
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment