From f50dfcc2f4876b0883b61a826a0413d5bd8d6b0e Mon Sep 17 00:00:00 2001
From: david_williams <david_williams>
Date: Mon, 14 Jan 2008 01:41:32 +0000
Subject: [PATCH] fix pre-req existence checking

---
 .../wtp.site/templateFiles/buildresult.xml.template         | 2 --
 .../wtp.site/templateFiles/index.html.template.php          | 6 +++---
 2 files changed, 3 insertions(+), 5 deletions(-)
 delete mode 100644 releng.wtpbuilder/distribution/wtp.site/templateFiles/buildresult.xml.template

diff --git a/releng.wtpbuilder/distribution/wtp.site/templateFiles/buildresult.xml.template b/releng.wtpbuilder/distribution/wtp.site/templateFiles/buildresult.xml.template
deleted file mode 100644
index 1fdede522..000000000
--- a/releng.wtpbuilder/distribution/wtp.site/templateFiles/buildresult.xml.template
+++ /dev/null
@@ -1,2 +0,0 @@
-<eclipsebuild buildlabel="@buildlabel@">
-</eclipsebuild>
diff --git a/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template.php b/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template.php
index e75bd77ce..1353253ac 100644
--- a/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template.php
+++ b/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template.php
@@ -235,7 +235,7 @@ if (!stristr($serverName, "eclipse.org") && !stristr($serverName,"you.are.at.ecl
 				<td width="10%"></td>
 				<td>Eclipse Modeling Framework (EMF, XSD InfoSet, SDO)</td>
 				<td align="right"><?php
-				echo getPrereqReferenceOrName($eclipseMirrorScript, $emfMirrorPrefixuri, $emfURL, $emfFile);
+				echo getPrereqReferenceOrName($eclipseMirrorScript, $emfMirrorPrefixuri, $emfURL, $emfFile, $eclipseFSpathPrefix);
 				echo " or <a href=\"" . $emfBuildHome . "\">equivalent</a></td>";
 				?>
 			
@@ -245,7 +245,7 @@ if (!stristr($serverName, "eclipse.org") && !stristr($serverName,"you.are.at.ecl
 				<td width="10%"></td>
 				<td>Graphical Editing Framework (GEF)</td>
 				<td align="right"><?php
-				echo getPrereqReferenceOrName($eclipseMirrorScript, $gefMirrorPrefixuri, $gefURL, $gefFile);
+				echo getPrereqReferenceOrName($eclipseMirrorScript, $gefMirrorPrefixuri, $gefURL, $gefFile, $eclipseFSpathPrefix);
 				echo " or <a href=\"" . $gefBuildHome . "\">equivalent</a></td>";
 				?>
 			
@@ -256,7 +256,7 @@ if (!stristr($serverName, "eclipse.org") && !stristr($serverName,"you.are.at.ecl
 				<td>Data Tools Platform (DTP) (required only for EJB or JPT
 				development)</td>
 				<td align="right"><?php
-				echo getPrereqReferenceOrName($eclipseMirrorScript, $dtpMirrorPrefixuri, $dtpURL, $dtpFile);
+				echo getPrereqReferenceOrName($eclipseMirrorScript, $dtpMirrorPrefixuri, $dtpURL, $dtpFile, $eclipseFSpathPrefix);
 				echo " or <a href=\"" . $dtpBuildHome . "\">equivalent</a></td>";
 				?>
 			
-- 
GitLab