improve workflow
diff --git a/org.eclipse.wtp.releng.webupdatesite/build-home/createP2Repo.xml b/org.eclipse.wtp.releng.webupdatesite/build-home/createP2Repo.xml
index 0ae6357..eb87f7b 100644
--- a/org.eclipse.wtp.releng.webupdatesite/build-home/createP2Repo.xml
+++ b/org.eclipse.wtp.releng.webupdatesite/build-home/createP2Repo.xml
@@ -2,12 +2,13 @@
 <project
     basedir="."
     default="createP2Repo">
+  <property environment="env"/>
 
     <target
         name="createP2Repo"
         depends="checkArgs">
 
-          <fail unless="java15-home" message="Must provide java15-home" />
+          <fail unless="env.JAVA_5_HOME" message="Must provide env.JAVA_5_HOME" />
 
         <property
             name="buildDirectory"
@@ -29,7 +30,7 @@
             fork="true"
             resultProperty="createP2RepoResult"
             failonerror="true"
-            jvm="${java15-home}/bin/java"
+            jvm="${env.JAVA_5_HOME}/bin/java"
             classname="org.eclipse.equinox.launcher.Main"
             maxmemory="512m"
             dir="${buildDirectory}">