blob: 5d209b3dee5deff1994b538828c02c02d769ba50 [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/bfreeman/callisto/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="-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>