Skip to content
Snippets Groups Projects
Commit bc583e91 authored by david_williams's avatar david_williams
Browse files

removed old code that was not parsing dlconfig file correctly anyway, wasn't...

removed old code that was not parsing dlconfig file correctly anyway, wasn't needed, and causing warnings on new "tests upgrade system"
parent b99123fb
No related branches found
No related tags found
No related merge requests found
...@@ -5,20 +5,8 @@ ...@@ -5,20 +5,8 @@
$parts2 = explode("-", $parts[count($parts) - 1]); $parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1]; $buildName = $parts2[1];
// Get build type names
$fileHandle = fopen("../../dlconfig.txt", "r"); echo "<title>Build Notes for $buildName </title>";
while (!feof($fileHandle)) {
$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
$parts = explode(",", $aLine);
$dropNames[trim($parts[0])] = trim($parts[1]);
}
fclose($fileHandle);
$buildType = $dropNames[$parts2[0]];
echo "<title>Build Notes for $buildType $buildName </title>";
?> ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
...@@ -30,7 +18,7 @@ ...@@ -30,7 +18,7 @@
<table border=0 cellspacing=5 cellpadding=2 width="100%" > <table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica"> <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
Build Notes for <?php echo "$buildType $buildName"; ?></font></b></td> Build Notes for <?php echo "$buildName"; ?></font></b></td>
</tr> </tr>
</table> </table>
<table border="0"> <table border="0">
......
...@@ -5,20 +5,7 @@ ...@@ -5,20 +5,7 @@
$parts2 = explode("-", $parts[count($parts) - 1]); $parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1]; $buildName = $parts2[1];
// Get build type names echo "<title>Test Console Output for $buildName </title>";
$fileHandle = fopen("../../dlconfig.txt", "r");
while (!feof($fileHandle)) {
$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
$parts = explode(",", $aLine);
$dropNames[trim($parts[0])] = trim($parts[1]);
}
fclose($fileHandle);
$buildType = $dropNames[$parts2[0]];
echo "<title>Test Console Output for $buildType $buildName </title>";
?> ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
...@@ -31,7 +18,7 @@ ...@@ -31,7 +18,7 @@
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console
output from running JUnit plugin tests for output from running JUnit plugin tests for
<?php echo "$buildType $buildName"; ?> <?php echo "$buildName"; ?>
</font></b></td> </font></b></td>
</tr> </tr>
</table> </table>
......
...@@ -6,20 +6,7 @@ ...@@ -6,20 +6,7 @@
$parts2 = explode("-", $parts[count($parts) - 1]); $parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1]; $buildName = $parts2[1];
// Get build type names echo "<title>Test Results for $buildName </title>";
$fileHandle = fopen("../../dlconfig.txt", "r");
while (!feof($fileHandle)) {
$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
$parts = explode(",", $aLine);
$dropNames[trim($parts[0])] = trim($parts[1]);
}
fclose($fileHandle);
$buildType = $dropNames[$parts2[0]];
echo "<title>Test Results for $buildType $buildName </title>";
?> ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
...@@ -31,7 +18,7 @@ ...@@ -31,7 +18,7 @@
<table border=0 cellspacing=5 cellpadding=2 width="100%" > <table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica"> <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
Unit Test Results for <?php echo "$buildType $buildName"; ?> on Various Platforms and JRE</font></b></td> Unit Test Results for <?php echo "$buildName"; ?> on Various Platforms and JRE</font></b></td>
</tr> </tr>
</table> </table>
...@@ -50,7 +37,7 @@ while ($anEntry = $dir->read()) ...@@ -50,7 +37,7 @@ while ($anEntry = $dir->read())
<table border=0 cellspacing=5 cellpadding=2 width="100%" > <table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
Test Results for <?php echo "$buildType $buildName"; ?> </font></b></td> Test Results for <?php echo "$buildName"; ?> </font></b></td>
</tr> </tr>
</table> </table>
<p></p><table border="0"> <p></p><table border="0">
...@@ -71,7 +58,7 @@ while ($anEntry = $dir->read()) ...@@ -71,7 +58,7 @@ while ($anEntry = $dir->read())
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica"> <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
Console output logs Console output logs
<?php echo "$buildType $buildName"; ?> <?php echo "$buildName"; ?>
</font></b></td> </font></b></td>
</tr> </tr>
</table> </table>
......
...@@ -5,20 +5,7 @@ ...@@ -5,20 +5,7 @@
$parts2 = explode("-", $parts[count($parts) - 1]); $parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1]; $buildName = $parts2[1];
// Get build type names echo "<title>Build Notes for $buildName </title>";
$fileHandle = fopen("../../dlconfig.txt", "r");
while (!feof($fileHandle)) {
$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
$parts = explode(",", $aLine);
$dropNames[trim($parts[0])] = trim($parts[1]);
}
fclose($fileHandle);
$buildType = $dropNames[$parts2[0]];
echo "<title>Build Notes for $buildType $buildName </title>";
?> ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
...@@ -30,7 +17,7 @@ ...@@ -30,7 +17,7 @@
<table border=0 cellspacing=5 cellpadding=2 width="100%" > <table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica"> <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
Build Notes for <?php echo "$buildType $buildName"; ?></font></b></td> Build Notes for <?php echo "$buildName"; ?></font></b></td>
</tr> </tr>
</table> </table>
<table border="0"> <table border="0">
......
...@@ -5,20 +5,7 @@ ...@@ -5,20 +5,7 @@
$parts2 = explode("-", $parts[count($parts) - 1]); $parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1]; $buildName = $parts2[1];
// Get build type names echo "<title>Test Console Output for $buildName </title>";
$fileHandle = fopen("../../dlconfig.txt", "r");
while (!feof($fileHandle)) {
$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
$parts = explode(",", $aLine);
$dropNames[trim($parts[0])] = trim($parts[1]);
}
fclose($fileHandle);
$buildType = $dropNames[$parts2[0]];
echo "<title>Test Console Output for $buildType $buildName </title>";
?> ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
...@@ -31,7 +18,7 @@ ...@@ -31,7 +18,7 @@
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console
output from running JUnit plugin tests for output from running JUnit plugin tests for
<?php echo "$buildType $buildName"; ?> <?php echo "$buildName"; ?>
</font></b></td> </font></b></td>
</tr> </tr>
</table> </table>
......
...@@ -6,20 +6,7 @@ ...@@ -6,20 +6,7 @@
$parts2 = explode("-", $parts[count($parts) - 1]); $parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1]; $buildName = $parts2[1];
// Get build type names echo "<title>Test Results for $buildName </title>";
$fileHandle = fopen("../../dlconfig.txt", "r");
while (!feof($fileHandle)) {
$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
$parts = explode(",", $aLine);
$dropNames[trim($parts[0])] = trim($parts[1]);
}
fclose($fileHandle);
$buildType = $dropNames[$parts2[0]];
echo "<title>Test Results for $buildType $buildName </title>";
?> ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
...@@ -31,7 +18,7 @@ ...@@ -31,7 +18,7 @@
<table border=0 cellspacing=5 cellpadding=2 width="100%" > <table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica"> <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
Unit Test Results for <?php echo "$buildType $buildName"; ?> on Various Platforms and JRE</font></b></td> Unit Test Results for <?php echo "$buildName"; ?> on Various Platforms and JRE</font></b></td>
</tr> </tr>
</table> </table>
...@@ -50,7 +37,7 @@ while ($anEntry = $dir->read()) ...@@ -50,7 +37,7 @@ while ($anEntry = $dir->read())
<table border=0 cellspacing=5 cellpadding=2 width="100%" > <table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
Test Results for <?php echo "$buildType $buildName"; ?> </font></b></td> Test Results for <?php echo "$buildName"; ?> </font></b></td>
</tr> </tr>
</table> </table>
<p></p><table border="0"> <p></p><table border="0">
...@@ -71,7 +58,7 @@ while ($anEntry = $dir->read()) ...@@ -71,7 +58,7 @@ while ($anEntry = $dir->read())
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica"> <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
Console output logs Console output logs
<?php echo "$buildType $buildName"; ?> <?php echo "$buildName"; ?>
</font></b></td> </font></b></td>
</tr> </tr>
</table> </table>
......
<html> <html>
<head> <head>
<?php <?php
$parts = explode("/", getcwd()); $parts = explode("/", getcwd());
$parts2 = explode("-", $parts[count($parts) - 1]); $parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1]; $buildName = $parts2[1];
// Get build type names
$fileHandle = fopen("../../dlconfig.txt", "r"); echo "<title>Build Notes for $buildName </title>";
while (!feof($fileHandle)) {
$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
$parts = explode(",", $aLine);
$dropNames[trim($parts[0])] = trim($parts[1]);
}
fclose($fileHandle);
$buildType = $dropNames[$parts2[0]];
echo "<title>Build Notes for $buildType $buildName </title>";
?> ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
...@@ -28,33 +15,33 @@ ...@@ -28,33 +15,33 @@
<p><b><font face="Verdana" size="+3">Build Notes</font></b> </p> <p><b><font face="Verdana" size="+3">Build Notes</font></b> </p>
<table border=0 cellspacing=5 cellpadding=2 width="100%" > <table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica"> <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
Build Notes for <?php echo "$buildType $buildName"; ?></font></b></td> Build Notes for <?php echo "$buildName"; ?></font></b></td>
</tr> </tr>
</table> </table>
<table border="0"> <table border="0">
<?php <?php
$hasNotes = false; $hasNotes = false;
$aDirectory = dir("buildnotes"); $aDirectory = dir("buildnotes");
while ($anEntry = $aDirectory->read()) { while ($anEntry = $aDirectory->read()) {
if ($anEntry != "." && $anEntry != "..") { if ($anEntry != "." && $anEntry != "..") {
$parts = explode("_", $anEntry); $parts = explode("_", $anEntry);
$baseName = $parts[1]; $baseName = $parts[1];
$parts = explode(".", $baseName); $parts = explode(".", $baseName);
$component = $parts[0]; $component = $parts[0];
$line = "<td>Component: <a href=\"buildnotes/$anEntry\">$component</a></td>"; $line = "<td>Component: <a href=\"buildnotes/$anEntry\">$component</a></td>";
echo "<tr>"; echo "<tr>";
echo "$line"; echo "$line";
echo "</tr>"; echo "</tr>";
$hasNotes = true; $hasNotes = true;
} }
} }
aDirectory.closedir(); aDirectory.closedir();
if (!$hasNotes) { if (!$hasNotes) {
echo "<br>There are no build notes for this build."; echo "<br>There are no build notes for this build.";
} }
?> ?>
</table> </table>
......
...@@ -5,20 +5,7 @@ ...@@ -5,20 +5,7 @@
$parts2 = explode("-", $parts[count($parts) - 1]); $parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1]; $buildName = $parts2[1];
// Get build type names echo "<title>Test Console Output for $buildName </title>";
$fileHandle = fopen("../../dlconfig.txt", "r");
while (!feof($fileHandle)) {
$aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
$parts = explode(",", $aLine);
$dropNames[trim($parts[0])] = trim($parts[1]);
}
fclose($fileHandle);
$buildType = $dropNames[$parts2[0]];
echo "<title>Test Console Output for $buildType $buildName </title>";
?> ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
...@@ -31,7 +18,7 @@ ...@@ -31,7 +18,7 @@
<tr> <tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console
output from running JUnit plugin tests for output from running JUnit plugin tests for
<?php echo "$buildType $buildName"; ?> <?php echo "$buildName"; ?>
</font></b></td> </font></b></td>
</tr> </tr>
</table> </table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment