[122833] Improve Test Automation
diff --git a/releng.wtpbuilder/distribution/wtp.api/build.xml b/releng.wtpbuilder/distribution/wtp.api/build.xml
index 672fae1..3019054 100644
--- a/releng.wtpbuilder/distribution/wtp.api/build.xml
+++ b/releng.wtpbuilder/distribution/wtp.api/build.xml
@@ -304,10 +304,10 @@
 	</target>
 
 	<target name="clean" if="clean">
-		<property file="${apiRoot}/releng/maps/dependencies.properties"/>
+		<property file="${build.home}/releng.wtpbuilder/build.properties"/>
 		<property name="local.cache.dir" value="${build.home}/${build.local.repository}"/>
-		<property name="wtp.dir" value="${local.cache.dir}"/>
 		<property name="apiRoot" value="${build.home}/apiRoot"/>
+		<property name="wtp.dir" value="${local.cache.dir}"/>
 		<delete dir="${apiRoot}" failonerror="false"/>
 		<delete failonerror="false">
 			<fileset dir="${wtp.dir}" includes="wtp-*"/>