Need to add the ant-contrib tasks to use if from it

This commit is contained in:
Charlie Groves
2008-07-15 19:05:15 +00:00
parent da393149db
commit c5ac51be40
+7
View File
@@ -113,6 +113,13 @@
<!-- optimizes, combines and removes dead code -->
<target name="proguard" depends="dist">
<!-- we need ant-contrib for if -->
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="${deploy.dir}/lib/ant-contrib.jar"/>
</classpath>
</taskdef>
<!-- figure out where the Java rt.jar file lives -->
<if><and><os family="mac"/><os family="unix"/></and><then>
<property name="rtClasses" value="${java.home}/../Classes/classes.jar"/>