1 <project name="Build PHPEclipse" default="main">
 
   2         <property file="${user.home}/phpeclipse/build.properties" />
 
   3         <property file="${basedir}/build.properties" />
 
   4         <property environment="env" />
 
   6         <property name="builder" location="${basedir}" />
 
   7         <property name="buildDirectory" location="${builder}/build" />
 
   8         <property name="base" location="${buildDirectory}/base" />
 
   9         <property name="baseLocation" location="${base}/eclipse" />
 
  11   <property name="tempDirectory" location="${buildDirectory}/temp" />
 
  13   <property name="base.eclipse.install" value="d:/ee-pw-1.2.0/" />
 
  14         <property name="pdebuild.version" value="3.2.0.v20060603" />
 
  15         <property name="pdebuild.build.xml" value="${base.eclipse.install}/plugins/org.eclipse.pde.build_${pdebuild.version}/scripts/build.xml" />
 
  17         <target name="main" description="build everything">
 
  18                 <mkdir dir="${buildDirectory}" />
 
  19                 <mkdir dir="${buildDirectory}/temp" />
 
  20                 <ant antfile="${pdebuild.build.xml}" dir="${builder}" />
 
  23         <target name="clean" description="clean the build directory, except for the downloaded zips">
 
  24                 <delete includeemptydirs="true" deleteonexit="true" >   
 
  25                         <fileset dir="${buildDirectory}" defaultexcludes="false" excludes="downloads" includes="**/*">
 
  31       <java description="runs a standalone update command"
 
  35             classname="org.eclipse.core.launcher.Main"
 
  36             output="@{log.folder}/check-installed-features-@{id}@{suffix}.txt"
 
  37             errorproperty="distro.conf.error"
 
  38             outputproperty="distro.conf.details">
 
  40           <pathelement location="@{distro.path}/startup.jar" />
 
  42         <arg line="-application org.eclipse.update.core.standaloneUpdate -command listFeatures" />