diff --git a/archive/org.eclipse.wtp.releng/dropSiteRootFiles/index.php b/archive/org.eclipse.wtp.releng/dropSiteRootFiles/index.php index 0cf9dd2cc8a45d9302cbce310fba91d65f677fd0..fa84b275832e59e89975d09e78bf2c0ce2d24994 100644 --- a/archive/org.eclipse.wtp.releng/dropSiteRootFiles/index.php +++ b/archive/org.eclipse.wtp.releng/dropSiteRootFiles/index.php @@ -24,7 +24,8 @@ user and developer documentation provided in the online help system. If you have problems downloading the drops, contact the <font size="-1" face="arial,helvetica,geneva"><a href="mailto:webmaster@eclipse.org">webmaster</a></font>. All downloads are provided under the terms and conditions of the <a href="http://www.eclipse.org/legal/notice.html">Eclipse.org Software User Agreement</a> unless otherwise specified. </p><p> For information -about different kinds of builds look <a href="build_types.html">here</a>.</p></td></tr> +about different kinds of builds look <a href="build_types.html">here</a>.</p></td></tr> +<tr><td><p><a href="performance/performance.php">Performance Results</a></p></td></tr> </table><?php $fileHandle = fopen("dlconfig.txt", "r"); diff --git a/archive/org.eclipse.wtp.releng/dropSiteRootFiles/performance.php b/archive/org.eclipse.wtp.releng/dropSiteRootFiles/performance.php new file mode 100644 index 0000000000000000000000000000000000000000..944875a1ed92eee8fbb475f409641709db122c45 --- /dev/null +++ b/archive/org.eclipse.wtp.releng/dropSiteRootFiles/performance.php @@ -0,0 +1,89 @@ +<?php + function listGlobalPHP_($directory, $buildType) + { + $dir = dir($directory); + while ($anEntry = $dir->read()) + { + if (strncmp($anEntry, $buildType, 1) == 0) + { + $path = $directory."/".$anEntry; + listGlobalPHP($path); + } + } + } + + function listGlobalPHP($directory) + { + $dir = dir($directory); + while ($anEntry = $dir->read()) + { + $path = $directory."/".$anEntry; + if ($anEntry == "global.php") + { + $id = substr($path, 2); + $pos = strpos($id, '/'); + if ($pos > 0) + { + $id = substr($id, 0, $pos); + } + echo "<tr><td><a href=\"$path\">$id</a></td></tr>"; + } + else if ($anEntry != "." && $anEntry != ".." && is_dir($path)) + { + listGlobalPHP($path); + } + } + } +?> + +<html> + <body> + + <p><b><font face="Verdana" size="+3">Performance Results</font></b><br><br> + + <table border=0 cellspacing=5 cellpadding=2 width="100%" > + <tr> + <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> + <b><font color="#FFFFFF" face="Arial,Helvetica">Stable Builds</font></b> + </td> + </tr> + </table> + + <table border=1" width="100%"> + <?php + listGlobalPHP_(".", "S"); + ?> + </table> + <br> + + <table border=0 cellspacing=5 cellpadding=2 width="100%" > + <tr> + <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> + <b><font color="#FFFFFF" face="Arial,Helvetica">Integration Builds</font></b> + </td> + </tr> + </table> + + <table border=1" width="100%"> + <?php + listGlobalPHP_(".", "I"); + ?> + </table> + <br> + + <table border=0 cellspacing=5 cellpadding=2 width="100%" > + <tr> + <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> + <b><font color="#FFFFFF" face="Arial,Helvetica">Nighty Builds</font></b> + </td> + </tr> + </table> + + <table border=1" width="100%"> + <?php + listGlobalPHP_(".", "N"); + ?> + </table> + + </body> +</html> \ No newline at end of file