blob: 25d6f703afb44c4108b1fdd6b1ab615e0aee2cdf [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project
basedir="."
default="createDigest">
<target
name="createDigest"
depends="checkArgs">
<property
name="java15-home"
value="${user.home}/ibm-java2-ppc-50/jre" />
<property
name="buildDirectory"
value="${basedir}" />
<java
taskname="createDigestJob"
fork="true"
resultProperty="createDigestResult"
failonerror="true"
jvm="${java15-home}/bin/java"
classname="org.eclipse.equinox.launcher.Main"
maxmemory="128m"
dir="${buildDirectory}">
<classpath>
<fileset dir="${eclipse.home}/plugins">
<include name="org.eclipse.equinox.launcher_*.jar" />
</fileset>
</classpath>
<arg line="-debug -consolelog" />
<arg
line="-application org.eclipse.update.core.siteOptimizer" />
<arg
line="-digestBuilder -digestOutputDir=${updateSite} -siteXML=${updateSite}/${mainSiteFileName}" />
</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>