blob: 6781cff0efb52ba27b899f6ab2971494ca1bdcb7 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="createDigest">
<target name="createDigest" depends="checkArgs">
<property name="java15-home"
value="/home/data/users/david_williams/ibm-java2-ppc-50/jre" />
<property name="buildDirectory"
value="${basedir}" />
<java jar="${eclipse.home}/startup.jar"
fork="true"
jvm="${java15-home}/bin/java"
failonerror="true"
maxmemory="128m"
dir="${buildDirectory}">
<arg line="-debug -consolelog" />
<arg line="-application org.eclipse.update.core.siteOptimizer" />
<arg line="-digestBuilder -digestOutputDir=${updateSite} -siteXML=${updateSite}/site.xml" />
</java>
</target>
<target name="checkArgs">
<fail message="eclipse.home and updateSite must be set.">
<condition>
<and>
<not>
<isset property="eclipse.home" />
</not>
<not>
<isset property="updateSite" />
</not>
</and>
</condition>
</fail>
</target>
</project>