bug 337243 - fix junit tests
diff --git a/org.eclipse.e4.builder/builder/general/customTargets.xml b/org.eclipse.e4.builder/builder/general/customTargets.xml
index be923c8..becd7bc 100644
--- a/org.eclipse.e4.builder/builder/general/customTargets.xml
+++ b/org.eclipse.e4.builder/builder/general/customTargets.xml
@@ -84,8 +84,9 @@
</target>
<target name="initLocations" >
- <available property="repoURLFile" file="${buildDirectory}/eclipseRepoURL.properties" />
+ <available property="repoURLFile" value="${buildDirectory}/eclipseRepoURL.properties" file="${buildDirectory}/eclipseRepoURL.properties" />
<antcall target="initRepoURLFile" />
+ <property name="repoURLFile" value="${buildDirectory}/eclipseRepoURL.properties" />
<property file="${repoURLFile}"/>
</target>
diff --git a/org.eclipse.e4.sdk/builder/customTargets.xml b/org.eclipse.e4.sdk/builder/customTargets.xml
index feb13bd..105cd1c 100644
--- a/org.eclipse.e4.sdk/builder/customTargets.xml
+++ b/org.eclipse.e4.sdk/builder/customTargets.xml
@@ -60,8 +60,9 @@
</target>
<target name="initLocations" >
- <available property="repoURLFile" file="${buildDirectory}/eclipseRepoURL.properties" />
+ <available property="repoURLFile" value="${buildDirectory}/eclipseRepoURL.properties" file="${buildDirectory}/eclipseRepoURL.properties" />
<antcall target="initRepoURLFile" />
+ <property name="repoURLFile" value="${buildDirectory}/eclipseRepoURL.properties" />
<property file="${repoURLFile}"/>
</target>