start merge scripts
diff --git a/org.eclipse.wtp.releng.webupdatesite/build-home/merge-xml-sec.xml b/org.eclipse.wtp.releng.webupdatesite/build-home/merge-xml-sec.xml
index 30742ab..595852a 100644
--- a/org.eclipse.wtp.releng.webupdatesite/build-home/merge-xml-sec.xml
+++ b/org.eclipse.wtp.releng.webupdatesite/build-home/merge-xml-sec.xml
@@ -1,15 +1,22 @@
<project default="build" basedir=".">
-
- <echo message="running merge script"/>
-
-
+
+ <echo message="running merge script" />
+
+
<target name="build">
-
- <p2.mirror source="/home/data/httpd/download.eclipse.org/webtools/downloads/drops/R0.5/I-I20091213171835-20091213171835/updateSite" destination="/home/data/httpd/download.eclipse.org/webtools/tempTestUpdates32">
- <slicingOptions followStrict="true" />
+
+ <fail unless="repoSource" message="repoSource must be defined" />
+ <fail unless="repoDestination" messaage="repoDestination must be defined" />
+ <available file="${repoSource}" property="repoSourceAvailable" />
+ <fail unless="repoSourceAvailable" message="repoSource does not exist." />
+ <available file="${repoDestination}" property="repoDestinationAvailable" />
+ <fail unless="repoDestinationAvailable" message="repoDestination does not exist, and it is expected to for this merge task." />
+
+ <p2.mirror source="${repoSource}" destination="${repoDestination}">
+ <slicingOptions followStrict="true" />
<iu id="org.eclipse.wst.xml.security_sdk.feature.feature.group" />
<iu id="org.eclipse.wst.xml.security_tests.feature.feature.group" />
</p2.mirror>
-
+
</target>
</project>
\ No newline at end of file