diff options
-rw-r--r-- | eclipse-build/build.xml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/eclipse-build/build.xml b/eclipse-build/build.xml index ae8134a..65e53e0 100644 --- a/eclipse-build/build.xml +++ b/eclipse-build/build.xml @@ -469,8 +469,18 @@ </condition> </target> --> + + <target name="setPDEBuildPath" depends="provision.sdk"> + <path id="pdebuilddir.id"> + <dirset dir="${provisionDir}/plugins"> + <include name="org.eclipse.pde.build_*" /> + </dirset> + </path> + + <property name="pdebuilddir" refid="pdebuilddir.id" /> + </target> - <target name="buildEMF" depends="unpackEMF" unless="buildEMF.complete"> + <target name="buildEMF" depends="unpackEMF,setPDEBuildPath" unless="buildEMF.complete"> <exec executable="${provisionDir}/eclipse"> <arg line="-nosplash " /> @@ -501,15 +511,7 @@ <echo file="buildEMF-stamp" /> </target> - <target name="buildTests" depends="provision.sdk,applyTestPatches" unless="testsbuild.complete"> - - <path id="pdebuilddir.id"> - <dirset dir="${provisionDir}/plugins"> - <include name="org.eclipse.pde.build_*" /> - </dirset> - </path> - - <property name="pdebuilddir" refid="pdebuilddir.id" /> + <target name="buildTests" depends="provision.sdk,applyTestPatches,setPDEBuildPath" unless="testsbuild.complete"> <!-- Test framework --> <exec executable="${provisionDir}/eclipse"> |