Moving 1.2.x references to branches, since trunk is now 1.3.x. refs #778
[phpeclipse.git] / build / build.xml
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" />
5
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" />
10
11   <property name="tempDirectory" location="${buildDirectory}/temp" />
12         
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" />
16
17         <target name="main" description="build everything">
18                 <mkdir dir="${buildDirectory}" />
19                 <mkdir dir="${buildDirectory}/temp" />
20                 <ant antfile="${pdebuild.build.xml}" dir="${builder}" />
21         </target>
22
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="**/*">
26                         </fileset>
27                 </delete>
28         </target>
29
30         <!--
31       <java description="runs a standalone update command"
32             dir="@{distro.path}"
33             fork="true"
34             timeout="120000"
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">
39         <classpath>
40           <pathelement location="@{distro.path}/startup.jar" />
41         </classpath>
42         <arg line="-application org.eclipse.update.core.standaloneUpdate -command listFeatures" />
43       </java>
44  
45  -->
46 </project>