diff --git a/downloadsites/webtools/archive/api_err.gif b/downloadsites/webtools/archive/api_err.gif deleted file mode 100644 index 4054878e8cfa7c6d67fa06b69ee82bd464bd470d..0000000000000000000000000000000000000000 Binary files a/downloadsites/webtools/archive/api_err.gif and /dev/null differ diff --git a/downloadsites/webtools/archive/api_junit.gif b/downloadsites/webtools/archive/api_junit.gif deleted file mode 100644 index c3723772e4c7c616f420dd0f82f96c1ba4847d1d..0000000000000000000000000000000000000000 Binary files a/downloadsites/webtools/archive/api_junit.gif and /dev/null differ diff --git a/downloadsites/webtools/archive/api_removed.gif b/downloadsites/webtools/archive/api_removed.gif deleted file mode 100644 index 2b1d43822886ca8293c64ca31860f9598a043102..0000000000000000000000000000000000000000 Binary files a/downloadsites/webtools/archive/api_removed.gif and /dev/null differ diff --git a/downloadsites/webtools/archive/compile_err.gif b/downloadsites/webtools/archive/compile_err.gif deleted file mode 100644 index c2bfdd606b59240410feb5ce0f1dc8ec7c7f35e3..0000000000000000000000000000000000000000 Binary files a/downloadsites/webtools/archive/compile_err.gif and /dev/null differ diff --git a/downloadsites/webtools/archive/compile_warn.gif b/downloadsites/webtools/archive/compile_warn.gif deleted file mode 100644 index cf4fdf93c71b7ab2cb28dfd06fed9c563fa29214..0000000000000000000000000000000000000000 Binary files a/downloadsites/webtools/archive/compile_warn.gif and /dev/null differ diff --git a/downloadsites/webtools/archive/index.20080301.php b/downloadsites/webtools/archive/index.20080301.php deleted file mode 100644 index 3eae10c794fb024dc6d67568db8cf1dc57f4435a..0000000000000000000000000000000000000000 --- a/downloadsites/webtools/archive/index.20080301.php +++ /dev/null @@ -1,514 +0,0 @@ -<html> -<head> -<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css"> -<title>Archive of Eclipse WebTools Project Downloads</title> -</head> -<body> - -<!-- heading start --> -<?php - - // tiny banner to remind when looking at "local" machine results - $serverName = $HTTP_SERVER_VARS["SERVER_NAME"]; - - if (!stristr($serverName, "eclipse.org") && !stristr($serverName,"you.are.at.eclipsecon.org")) { - echo '<center><p>Reminder: this is <font color="#FF0000">', $serverName,'</font> See also <a href="http://download.eclipse.org/webtools/downloads" target="_top">Live public eclipse site</a>.</center><hr />'; - } - -?> - - -<? - -// we will do our own error handling -error_reporting(0); -$logging_file="/home/data/httpd/writable/webtools/phplogs/archivedphplog.log"; - -// user defined error handling function -function userErrorHandler($errno, $errmsg, $filename, $linenum, $vars) -{ - // timestamp for the error entry - $dt = date("Y-m-d H:i:s (T)"); - - // define an assoc array of error string - // in reality the only entries we should - // consider are E_WARNING, E_NOTICE, E_USER_ERROR, - // E_USER_WARNING and E_USER_NOTICE - $errortype = array ( - E_ERROR => "Error", - E_WARNING => "Warning", - E_PARSE => "Parsing Error", - E_NOTICE => "Notice", - E_CORE_ERROR => "Core Error", - E_CORE_WARNING => "Core Warning", - E_COMPILE_ERROR => "Compile Error", - E_COMPILE_WARNING => "Compile Warning", - E_USER_ERROR => "User Error", - E_USER_WARNING => "User Warning", - E_USER_NOTICE => "User Notice", - E_STRICT => "Runtime Notice" - ); - // set of errors for which a var trace will be saved - $user_errors = array(E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE); - - $err = "<errorentry>\n"; - $err .= "\t<datetime>" . $dt . "</datetime>\n"; - $err .= "\t<errornum>" . $errno . "</errornum>\n"; - $err .= "\t<errortype>" . $errortype[$errno] . "</errortype>\n"; - $err .= "\t<errormsg>" . $errmsg . "</errormsg>\n"; - $err .= "\t<scriptname>" . $filename . "</scriptname>\n"; - $err .= "\t<scriptlinenum>" . $linenum . "</scriptlinenum>\n"; - - if (in_array($errno, $user_errors)) { - $err .= "\t<vartrace>" . wddx_serialize_value($vars, "Variables") . "</vartrace>\n"; - } - $err .= "</errorentry>\n\n"; - - // for testing - // echo "Debug Error: $err"; - - // save to the error log, and e-mail me if there is a critical user error - error_log($err, 3, $logging_file); - if ($errno == E_USER_ERROR) { - mail("david_williams@us.ibm.com", "PHP Downloads page Critical User Error", $err); - } -} - - -$old_error_handler = set_error_handler("userErrorHandler"); - -?> - -<? - $QString = $_SERVER['QUERY_STRING']; - $C = strcmp($QString, "test"); - if ($C == 0) { - // error_log("page started with 'test'\n", 3, $logging_file); - } - ?> - - -<table border=0 cellpadding=2 width="100%"> - <tr> - <td width="72%"><font class=indextop> Web Tools Platform<br> - downloads</font> <br> - <font class=indexsub>archived downloads from the Web Tools Platform project</font><br> - </td> - <td width="28%"><img - src="http://dev.eclipse.org/images/Idea.jpg" height=86 - width=120></td> - </tr> -</table> - -<!-- heading end --> - - -<hr /> -<table border=0 cellpadding=2 width="100%"> - <tr> - <td> - <p>On this page you can find the <b>archived builds</b> produced - by the <a href="http://www.eclipse.org/webtools/" target="_top"> - Eclipse Webtools Project (WTP)</a>. Archived builds consist of - older releases and not propagated to Eclipse mirrors.</p> - </td> - </tr> - - <tr> - <td align=left width="72%"> - <p>If you got here to this <b>archive</b> site by accident or - casual browsing, please be aware that more <a - href="http://download.eclipse.org/webtools/downloads/" - target="_top"> current builds</a> are available!</p> - </td> - </tr> - - -</table> - - - - -<?php - -//$fileHandle = fopen("drops/dlconfig.txt", "r"); -//while (!feof($fileHandle)) { -// -// $aLine = fgets($fileHandle, 4096); -// parse_str($aLine); -// -// -//} -// -//fclose($fileHandle); - -// fix for the next version of php - - $contents = substr(file_get_contents('drops/dlconfig.txt'),0,-1); - $contents = str_replace("\n", "", $contents); - - #split the content file by & and fill the arrays - $elements = explode("&",$contents); - $t = 0; - $p = 0; - for ($c = 0; $c < count($elements)-1; $c++) { - $tString = "dropType"; - $pString = "dropPrefix"; - if (strstr($elements[$c],$tString)) { - $temp = preg_split("/=/",$elements[$c]); - $dropType[$t] = trim($temp[1]); - $t++; - } - if (strstr($elements[$c],$pString)) { - $temp = preg_split("/=/",$elements[$c]); - $dropPrefix[$p] = trim($temp[1]); - $p++; - } - } - -// debug -// echo "Debug: droptype count: ", count($dropType), "<br />"; - -for ($i = 0; $i < count($dropType); $i++) { - $dt = $dropType[$i]; - $dt = trim($dt); - $typeToPrefix[$dt] = $dropPrefix[$i]; - - // echo "Debug prefix: ", $dropPrefix[$i], "<br />"; - // echo "Debug dropType: ", $dropType[$i], "<br />"; - -} - -$buildBranches = array(); -$buildBranches[0]="R2.0"; -$buildBranches[1]="R1.5"; -$buildBranches[2]="R1.0"; -$buildBranches[3]="R0.7"; -include 'drops/report.php'; -$latestTimeStamp=array(); -$latestFile = array(); - -echo "<table border=0 cellpadding=2 width=\"100%\"><tr>"; -echo "<td colspan=\"2\" bgcolor=\"#0080C0\"><b><font color=\"#FFFFFF\" face=\"Arial,Helvetica\">Latest Downloads</td></font></b>"; -echo "</td></tr></table>"; - - - -foreach ($buildBranches as $buildBranch ) { - - - $aDirectory = dir("drops/".$buildBranch); - $latestTimeStamp[$buildBranch] = array(); - $latestFile[$buildBranch] = array(); - - - while (false !== ($anEntry = $aDirectory->read())) { - - // Short cut because we know aDirectory only contains other directories. - if ($anEntry != "." && $anEntry!=".." ) { - //echo "Debug anEntry: $anEntry<br />" ; - $aDropDirectoryName = "drops/".$buildBranch."/".$anEntry; - if (is_Readable($aDropDirectoryName)) { - $aDropDirectory = dir($aDropDirectoryName); - //echo "Debug aDropDirectory: $aDropDirectory->path <br />" ; - - $fileCount = 0; - while ($aDropEntry = $aDropDirectory->read()) { - // echo "Debug aDropEntry: $aDropEntry<br />" ; - if ( (stristr($aDropEntry, ".tar.gz")) || (stristr($aDropEntry, ".zip")) ) { - // Count the dropfile entry in the directory (so we won't display links, if not all there - $fileCount = $fileCount + 1; - } - } - - $aDropDirectory->close(); - } - // Read the count file - $countFile = "drops/".$buildBranch."/".$anEntry."/files.count"; - $indexFile = "drops/".$buildBranch."/".$anEntry."/index.html"; - - - if (!file_exists($indexFile)) { - $indexFile = "drops/".$buildBranch."/".$anEntry."/index.php"; - } - - - if (file_exists($countFile) && file_exists($indexFile)) { - $anArray = file($countFile); - // debug - //echo "Number according to files.count: ", $anArray[0]; - //echo " actual counted files: ", $fileCount; - - // If a match - process the directoryVV - if ($anArray[0] <= $fileCount) { - // debug - //echo "yes, counted equaled expected count<br>"; - - $parts = explode("-", $anEntry); - if (count($parts) == 3) { - // debug - //echo "yes, counted parts was 3<br>"; - $buckets[$buildBranch][$parts[0]][] = $anEntry; - - $timePart = $parts[2]; - $year = substr($timePart, 0, 4); - $month = substr($timePart, 4, 2); - $day = substr($timePart, 6, 2); - $hour = substr($timePart,8,2); - $minute = substr($timePart,10,2); - $timeStamp = mktime($hour, $minute, 0, $month, $day, $year); - - $timeStamps[$anEntry] = date("D, j M Y -- H:i \(\U\T\C\)", $timeStamp); - - if (sizeof($latestTimeStamp[$buildBranch]) > 0) { - if ($timeStamp > $latestTimeStamp[$buildBranch][$parts[0]]) { - $latestTimeStamp[$buildBranch][$parts[0]] = $timeStamp; - $latestFile[$buildBranch][$parts[0]] = $anEntry; - } - }else{ - $latestTimeStamp[$buildBranch][$parts[0]] = $timeStamp; - $latestFile[$buildBranch][$parts[0]] = $anEntry; - - } - } - - } - } - - } -} - -$aDirectory->close(); -} - -?> - - -<TABLE width="100%" cellpadding=2> - <tr> - <td width=\"30%\"><b>Build Type</b></td> - <td><b>Build Stream</b></td> - <td><b>Build Name</b></td> - <td><b>Build Date</b></td> - </tr> - - - - <?php - foreach($dropType as $value) { - $prefix=$typeToPrefix[$value]; - - foreach($buildBranches as $bValue) { - - if (array_key_exists($prefix, $latestFile[$bValue])) { - $fileName = $latestFile[$bValue][$prefix]; - echo "<tr> - <td width=\"30%\">$value</td> <td>$bValue</td>"; - - $parts = explode("-", $fileName); - - if (sizeof($parts) > 1) { - // Uncomment the line below if we need click through licenses. - // echo "<td><a href=license.php?license=drops/$bValue/$fileName>$parts[1]</a></td>"; - - // Comment the line below if we need click through licenses. - echo "<td><a href=\"drops/$bValue/$fileName/\">$parts[1]</a></td>"; - - echo "<td>$timeStamps[$fileName]</td>"; - echo "</tr>"; - } - } - } - } - ?> - - -</TABLE> - - - -<?php - foreach($dropType as $value) { - $prefix=$typeToPrefix[$value]; - - - echo " - <table width=\"100%\" cellpadding=2> - <tr bgcolor=\"#999999\"> - <td align=left width=\"30%\"><b><a name=\"$value\"><font color=\"#FFFFFF\" face=\"Arial,Helvetica\">$value"; - echo "</font></a></b></td> - </TR> - <TR> - <td align=left> - <TABLE width=\"100%\" CELLPADDING=2> - <tr> - <td width=\"30%\"><b>Build Name</b></td><td><b>Build Stream</b></td> - <td><b>Build Date</b></td> - </tr>"; - - foreach($buildBranches as $bValue) { - if (array_key_exists($prefix, $buckets[$bValue])) { - echo "<tr><td colspan=\"7\"/><hr/></tr>"; - $aBucket = $buckets[$bValue][$prefix]; - if (isset($aBucket)) { - rsort($aBucket); - - $i = 0; - $ts = array(); - $ts2iv = array(); - foreach($aBucket as $iv) { - $parts = explode("-", $iv); - $ts[$i] = $parts[2]; - $ts2iv[$ts[$i]] = $iv; - $i++; - } - - rsort($ts); - $i = 0; - $aBucket = array(); - foreach($ts as $tsvalue) { - $aBucket[$i] = $ts2iv[$tsvalue]; - $i++; - } - - foreach($aBucket as $innerValue) { - $parts = explode("-", $innerValue); - echo "<tr>"; - - // Uncomment the line below if we need click through licenses. - // echo "<td><a href=\"license.php?license=drops/$bValue/$innerValue\">$parts[1]</a></td>"; - - // Comment the line below if we need click through licenses. - echo "<td><a href=\"drops/$bValue/$innerValue/\">$parts[1]</a></td>"; - echo "<td>$bValue</td>"; - echo "<td>$timeStamps[$innerValue]</td>"; - - $testResults = parse_testResult("drops/$bValue/$innerValue/testResults.php"); - list ($compileErrors, $compileWarnings, $junitFailures) = $testResults; - - // $violations = parse("drops/$bValue/$innerValue/apitools/index.xml", "count=\""); - // $tc = parse("drops/$buildBranch/$bValue/apitools/index-api-tc.xml", "missing-coverage-count=\""); - // $removed_apis = parse("drops/$bValue/$innerValue/apitools/index-api-compatibility.xml", "removed-api-count=\""); - - echo "<td width=\"50\"><img src=\"http://download.eclipse.org/webtools/downloads/compile_err.gif\" width=\"16\" height=\"16\"/><font color=red>$compileErrors</font></td>"; - echo "<td width=\"50\"><img src=\"http://download.eclipse.org/webtools/downloads/compile_warn.gif\" width=\"16\" height=\"16\"/><font color=orange>$compileWarnings</font></td>"; - echo "<td width=\"50\"><img src=\"http://download.eclipse.org/webtools/downloads/junit_err.gif\" width=\"16\" height=\"16\"/><font color=red>$junitFailures</font></td>"; - // echo "<td width=\"50\"><img src=\"http://download.eclipse.org/webtools/downloads/api_err.gif\" width=\"20\" height=\"16\"/><font color=red>$violations</font></td>"; - // echo "<td width=\"50\"><img src=\"http://download.eclipse.org/webtools/downloads/api_junit.gif\"/ width=\"16\" height=\"16\"/><font color=red>$tc</font></td>"; - // echo "<td width=\"50\"><img src=\"http://download.eclipse.org/webtools/downloads/api_removed.gif\" width=\"20\" height=\"16\"/><font color=red>$removed_apis</font></td>"; - - echo "</tr>"; - } - }}} - echo "</table></table>"; - } -?> - - - -<table border="0" width="100%" cellpadding="2"> - <tbody> - <tr> - <td valign="top"> - <table border="0" cellpadding="2"> - <tbody> - <tr> - <td width="100%" bgcolor="#0080c0" valign="top"><b><font - face="Arial,Helvetica"><font color="#ffffff">Download - Related Links</font> </font></b></td> - </tr> - <tr> - <td valign="top"> - - <!-- moved to /home/data/httpd/archive.eclipse.org/webtools/downloads/translations - <p><a - href="http://download.eclipse.org/webtools/downloads/translations/M-0.7.1-200509270720/translation.html" - target="_top">0.7.1 Language Packs</a> are now - available.</p> - --> - - <p><a - href="http://download.eclipse.org/webtools/downloads" - target="_top">Declared Builds</a> builds - are available which are for end-users and adopters.</p> - - <p><a - href="http://download.eclipse.org/webtools/committers/" - target="_top">Continuous Builds</a> are - produced since the last declared build, but are - generally not tested and of interest only to - committers and early testers.</p> - <p> - <a href="translations/M-0.7.1-200509270720/translation.html" target="_top">WTP 0.7.x Language Packs</a> - are available for download. - </p> - </td> - </tr> - </tbody> - </table> - </td> - <td width="350" valign="top"> - <table border="0" cellpadding="2"> - <tbody> - <tr> - <td width="100%" colspan="4" bgcolor="#0080c0" - valign="top"><b><font face="Arial,Helvetica"><font - color="#ffffff">Metrics Legend</font> </font></b></td> - </tr> - - - - - <tr> - <td valign="top"><img src="http://download.eclipse.org/webtools/downloads/compile_err.gif" /></td> - <td width="50%">compilation errors.</td> - <td valign="top"><img src="http://download.eclipse.org/webtools/downloads/compile_warn.gif" /></td> - <td width="50%">compilation warnings.</td> - </tr> - <tr> - <td valign="top"><img src="http://download.eclipse.org/webtools/downloads/junit_err.gif" /></td> - <td width="50%">junit failures.</td> - <td valign="top"><img src="http://download.eclipse.org/webtools/downloads/api_err.gif" /></td> - <td width="50%">API violations.</td> - </tr> - <tr> - <td valign="top"><img src="http://download.eclipse.org/webtools/downloads/api_junit.gif" /></td> - <td width="50%">APIs without junit testcases.</td> - <td valign="top"><font class="indexsub"> <img - src="http://download.eclipse.org/webtools/downloads/api_removed.gif" /></font></td> - <td width="50%">removed APIs.</td> - </tr> - - - - - </tbody> - </table> - </td> - </tr> - </tbody> -</table> - - - -<!-- footer --> -<center> -<hr /> -<p>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>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>.</p> -</center> -<!-- end footer --> - - -</body> -</html> -<? -if (isset($old_error_handler) && sizeof($old_error_handler)) { - set_error_handler($old_error_handler); -} -?> diff --git a/downloadsites/webtools/archive/index.php b/downloadsites/webtools/archive/index.php index 1d642cc42b88bf5730a12ea1e6ca7dd2ab603612..1b243e81632c153fc6ec2e30e0c061314fe61258 100644 --- a/downloadsites/webtools/archive/index.php +++ b/downloadsites/webtools/archive/index.php @@ -78,14 +78,8 @@ $C = strcmp($QString, "test"); <td> <p>On this page you can find the <b>archived builds</b> produced by the <a href="http://www.eclipse.org/webtools/" - target="_top"> Eclipse Webtools Project (WTP)</a>. Archived builds consist of older releases and not + target="_top"> Eclipse Webtools Project (WTP)</a>. Archived builds consist of older releases and are not propagated to Eclipse mirrors.</p> - </td> - </tr> - <tr> - <td - align=left - width="72%"> <p>If you got here to this <b>archive</b> site by accident or casual browsing, please be aware that more <a href="http://download.eclipse.org/webtools/downloads/" target="_top"> current builds</a> are available!</p> @@ -152,17 +146,13 @@ $buildBranches[5]="R1.0"; $buildBranches[6]="R0.7"; $buildBranches[7]="R0.5"; include 'drops/report.php'; -$latestTimeStamp=array(); -$latestFile = array(); + foreach ($buildBranches as $buildBranch ) { $dirfilename = "drops/".$buildBranch; if (file_exists($dirfilename) && is_dir($dirfilename)) { $aDirectory = dir($dirfilename); - $latestTimeStamp[$buildBranch] = array(); - $latestFile[$buildBranch] = array(); - while (false !== ($anEntry = $aDirectory->read())) { @@ -222,16 +212,6 @@ foreach ($buildBranches as $buildBranch ) { $timeStamps[$anEntry] = date("D, j M Y -- H:i \(\U\T\C\)", $timeStamp); - if (sizeof($latestTimeStamp[$buildBranch]) > 0) { - if ($timeStamp > $latestTimeStamp[$buildBranch][$parts[0]]) { - $latestTimeStamp[$buildBranch][$parts[0]] = $timeStamp; - $latestFile[$buildBranch][$parts[0]] = $anEntry; - } - }else{ - $latestTimeStamp[$buildBranch][$parts[0]] = $timeStamp; - $latestFile[$buildBranch][$parts[0]] = $anEntry; - - } } } diff --git a/downloadsites/webtools/archive/index.php20051224 b/downloadsites/webtools/archive/index.php20051224 deleted file mode 100644 index 5d2bbece5e99b9e38f4535f78ae0859008f77859..0000000000000000000000000000000000000000 --- a/downloadsites/webtools/archive/index.php20051224 +++ /dev/null @@ -1,255 +0,0 @@ -<html><head> -<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css"> -<title>Archive of Eclipse WebTools Project Downloads</title></head> -<body> - -<table border=0 cellspacing=5 cellpadding=2 width="100%" > - - - -<tr> <td align=left width="72%"> -<font class=indextop> Webtools<br>archived downloads</font> <br> <font class=indexsub> -archived downloads from the webtools project</font><br> -</td> - -<td width="28%"><img src="http://dev.eclipse.org/images/Idea.jpg" height=86 width=120></td></tr> - -</table> - -<table border=0 cellspacing=5 cellpadding=2 width="100%" > - - -<tr> <td align=LEFT valign=TOP colspan="2" bgcolor="#0080C0"><b> -<font color="#FFFFFF" face="Arial,Helvetica">Archived -Downloads</font></b></td></tr> -<tr> <td> <p>On this -page you can find the archived builds produced by -the <a href="http://www.eclipse.org/webtools/" target="_top"> Eclipse Webtools Project (WTP)</a>. -Archived builds consist of older releases and not propagated to Eclipse mirrors. -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></td></tr> - -<tr><td align=left width="72%"> -<p>If you got here to this <b>archive</b> site by accident or casual browsing, please be aware that more -<a href="http://www.eclipse.org/downloads/index.php" target="_top"> current builds</a> are available! -</p> -</td></tr> - - -<!-- no archived performance results -<tr><td> -<p><a href="http://apps.eclipse.org/webtools_performance/web/getScenarios.jsp">Performance Results</a></p></td></tr> ---> - - -</table> - - -<?php - - $fileHandle = fopen("dlconfig.txt", "r"); - while (!feof($fileHandle)) { - - $aLine = fgets($fileHandle, 4096); - parse_str($aLine); - - - } - fclose($fileHandle); - - for ($i = 0; $i < count($dropType); $i++) { - $typeToPrefix[$dropType[$i]] = $dropPrefix[$i]; - } - - $aDirectory = dir("drops"); - while ($anEntry = $aDirectory->read()) { - - // Short cut because we know aDirectory only contains other directories. - if ($anEntry != "." && $anEntry!="..") { - $aDropDirectory = dir("drops/".$anEntry); - $fileCount = 0; - while ($aDropEntry = $aDropDirectory->read()) { - if ( (stristr($aDropEntry, ".tar.gz")) || (stristr($aDropEntry, ".zip")) ) { - // Count the files in the directory - if( (stristr($aDropEntry, ".MD5") !== FALSE) ){ - $fileCount = $fileCount + 1; - } - } - } - $aDropDirectory.closedir(); - // Read the count file - $countFile = "drops/".$anEntry."/files.count"; - $indexFile = "drops/".$anEntry."/index.html"; -if (!file_exists($indexFile)) -{ -$indexFile = "drops/".$anEntry."/index.php"; -} - if (file_exists($countFile) && file_exists($indexFile)) { - $anArray = file($countFile); - - // If a match - process the directory - if ($anArray[0] == $fileCount) { - $parts = explode("-", $anEntry); - if (count($parts) == 3) { - - $buckets[$parts[0]][] = $anEntry; - - $timePart = $parts[2]; - $year = substr($timePart, 0, 4); - $month = substr($timePart, 4, 2); - $day = substr($timePart, 6, 2); - $hour = substr($timePart,8,2); - $minute = substr($timePart,10,2); - $timeStamp = mktime($hour, $minute, 0, $month, $day, $year); - - $timeStamps[$anEntry] = date("D, j M Y -- H:i (O)", $timeStamp); - - if ($timeStamp > $latestTimeStamp[$parts[0]]) { - $latestTimeStamp[$parts[0]] = $timeStamp; - $latestFile[$parts[0]] = $anEntry; - } - } - } - } - } - } - // $aDirectory.closedir(); - ?> <table width="100%" cellspacing=0 cellpadding=3 align=center> <td align=left> -<TABLE width="100%" CELLSPACING=0 CELLPADDING=3> <tr> <td width=\"30%\"><b>Build -Type</b></td><td><b>Build Name</b></td><td><b>Build Date</b></td></tr> <?php - foreach($dropType as $value) { - $prefix=$typeToPrefix[$value]; - $fileName = $latestFile[$prefix]; - echo "<tr> - <td width=\"30%\">$value</td>"; - - $parts = explode("-", $fileName); - - // Uncomment the line below if we need click through licenses. - // echo "<td><a href=license.php?license=drops/$fileName>$parts[1]</a></td>"; - - // Comment the line below if we need click through licenses. - echo "<td><a href=\"drops/$fileName/\">$parts[1]</a></td>"; - - echo "<td>$timeStamps[$fileName]</td>"; - echo "</tr>"; - } -?> </table></table> <?php - include 'report.php'; - foreach($dropType as $value) { - $prefix=$typeToPrefix[$value]; - echo " - <table width=\"100%\" cellspacing=0 cellpadding=3 align=center> - <tr bgcolor=\"#999999\"> - <td align=left width=\"30%\"><b><a name=\"$value\"><font color=\"#FFFFFF\" face=\"Arial,Helvetica\">$value"; - echo "s</font></a></b></td> - </TR> - <TR> - <td align=left> - <TABLE width=\"100%\" CELLSPACING=0 CELLPADDING=3> - <tr> - <td width=\"30%\"><b>Build Name</b></td> - <td><b>Build Date</b></td> - </tr>"; - - $aBucket = $buckets[$prefix]; - if (isset($aBucket)) { - rsort($aBucket); - - $i = 0; - $ts = array(); - $ts2iv = array(); - foreach($aBucket as $iv) { - $parts = explode("-", $iv); - $ts[$i] = $parts[2]; - $ts2iv[$ts[$i]] = $iv; - $i++; - } - - rsort($ts); - $i = 0; - $aBucket = array(); - foreach($ts as $tsvalue) { - $aBucket[$i] = $ts2iv[$tsvalue]; - $i++; - } - - foreach($aBucket as $innerValue) { - $parts = explode("-", $innerValue); - echo "<tr>"; - - // Uncomment the line below if we need click through licenses. - // echo "<td><a href=\"license.php?license=drops/$innerValue\">$parts[1]</a></td>"; - - // Comment the line below if we need click through licenses. - echo "<td><a href=\"drops/$innerValue/\">$parts[1]</a></td>"; - - echo "<td>$timeStamps[$innerValue]</td>"; - - $testResults = parse_testResult("drops/$innerValue/testResults.php"); - list ($compileErrors, $compileWarnings, $junitFailures) = $testResults; - $violations = parse("drops/$innerValue/apitools/index.xml", "count=\""); - $tc = parse("drops/$innerValue/apitools/index-api-tc.xml", "missing-coverage-count=\""); - $removed_apis = parse("drops/$innerValue/apitools/index-api-compatibility.xml", "removed-api-count=\""); - echo "<td><img src=\"compile_err.gif\"/><font color=red>$compileErrors</font></td>"; - echo "<td><img src=\"compile_warn.gif\"/><font color=orange>$compileWarnings</font></td>"; - echo "<td><img src=\"junit_err.gif\"/><font color=red>$junitFailures</font></td>"; - echo "<td><img src=\"api_err.gif\"/><font color=red>$violations</font></td>"; - echo "<td><img src=\"api_junit.gif\"/><font color=red>$tc</font></td>"; - echo "<td><img src=\"api_removed.gif\"/><font color=red>$removed_apis</font></td>"; - - echo "</tr>"; - } - } - echo "</table></table> "; - } -?> - -<table border="0" width="100%" cellpadding="2" cellspacing="5"> -<tbody> -<tr> -<td colspan="4" bgcolor="#0080c0" width="100%" align="left" valign="top"> -<b> -<font face="Arial,Helvetica"> -<font color="#ffffff">Legend</font> -</font> -</b> -</td> -</tr> -<tr> -<td valign="top"> -<img src="compile_err.gif"/> -</td> -<td width="50%">compilation errors.</td> -<td valign="top"> -<img src="compile_warn.gif"/> -</td> -<td width="50%">compilation warnings.</td> -</tr> -<tr> -<td valign="top"> -<img src="junit_err.gif"/> -</td> -<td width="50%">junit failures.</td> -<td valign="top"> -<img src="api_err.gif"/> -</td> -<td width="50%">API violations.</td> -</tr> -<tr> -<td valign="top"> -<img src="api_junit.gif"/> -</td> -<td width="50%">APIs without junit testcases.</td> -<td valign="top"> -<font class="indexsub"> -<img src="api_removed.gif"/> -</font> -</td> -<td width="50%">removed APIs.</td> -</tr> -</tbody> -</table> -</body></html> diff --git a/downloadsites/webtools/archive/index.php20060716 b/downloadsites/webtools/archive/index.php20060716 deleted file mode 100644 index 9a2b6d98bf2f048633ea28177895cc5383527f81..0000000000000000000000000000000000000000 --- a/downloadsites/webtools/archive/index.php20060716 +++ /dev/null @@ -1,287 +0,0 @@ -<html> -<head> -<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css"> -<title>Archive of Eclipse WebTools Project Downloads</title> -</head> -<body> - -<table border=0 cellspacing=5 cellpadding=2 width="100%"> - <tr> - <td width="72%"><font class=indextop> webtools<br> - downloads</font> <br> - <font class=indexsub> archived downloads from the webtools - project</font><br> - </td> - <td width="28%"><img - src="http://dev.eclipse.org/images/Idea.jpg" height=86 - width=120></td> - </tr> -</table> - -<!-- heading end --> - - -<hr /> -<table border=0 cellpadding=2 width="100%"> - - - <tr> - <td align=LEFT valign=TOP colspan="2" bgcolor="#0080C0"><b> <font - color="#FFFFFF" face="Arial,Helvetica">Archived Downloads</font></b></td> - </tr> - <tr> - <td> - <p>On this page you can find the <b>archived builds</b> produced - by the <a href="http://www.eclipse.org/webtools/" target="_top"> - Eclipse Webtools Project (WTP)</a>. Archived builds consist of - older releases and not propagated to Eclipse mirrors.</p> - </td> - </tr> - - <tr> - <td align=left width="72%"> - <p>If you got here to this <b>archive</b> site by accident or - casual browsing, please be aware that more <a - href="http://download.eclipse.org/webtools/downloads/" - target="_top"> current builds</a> are available!</p> - </td> - </tr> - - -</table> - - -<?php - -$fileHandle = fopen("dlconfig.txt", "r"); -while (!feof($fileHandle)) { - - $aLine = fgets($fileHandle, 4096); - parse_str($aLine); - - -} - -fclose($fileHandle); - - -for ($i = 0; $i < count($dropType); $i++) { - $typeToPrefix[$dropType[$i]] = $dropPrefix[$i]; -} - - - -$aDirectory = dir("drops"); - -while ($anEntry = $aDirectory->read()) { - - // Short cut because we know aDirectory only contains other directories. - if ($anEntry != "." && $anEntry!="..") { - $aDropDirectory = dir("drops/".$anEntry); - $fileCount = 0; - while ($aDropEntry = $aDropDirectory->read()) { - if ( (stristr($aDropEntry, ".tar.gz")) || (stristr($aDropEntry, ".zip")) ) { - // Count the dropfile entry in the directory (so we won't display links, if not all there - $fileCount = $fileCount + 1; - } - } - - $aDropDirectory.closedir(); - - // Read the count file - $countFile = "drops/".$anEntry."/files.count"; - $indexFile = "drops/".$anEntry."/index.html"; - - - if (!file_exists($indexFile)) { - $indexFile = "drops/".$anEntry."/index.php"; - } - - if (file_exists($countFile) && file_exists($indexFile)) { - $anArray = file($countFile); - // debug - //echo "Number according to files.count: ", $anArray[0]; - //echo " actual counted files: ", $fileCount; - - // If a match - process the directoryVV - if ($anArray[0] == $fileCount) { - // debug - //echo "yes, counted equaled expected count<br>"; - - $parts = explode("-", $anEntry); - if (count($parts) == 3) { - // debug - //echo "yes, counted parts was 3<br>"; - $buckets[$parts[0]][] = $anEntry; - - $timePart = $parts[2]; - $year = substr($timePart, 0, 4); - $month = substr($timePart, 4, 2); - $day = substr($timePart, 6, 2); - $hour = substr($timePart,8,2); - $minute = substr($timePart,10,2); - $timeStamp = mktime($hour, $minute, 0, $month, $day, $year); - - $timeStamps[$anEntry] = date("D, j M Y -- H:i \(\U\T\C\)", $timeStamp); - - if ($timeStamp > $latestTimeStamp[$parts[0]]) { - $latestTimeStamp[$parts[0]] = $timeStamp; - $latestFile[$parts[0]] = $anEntry; - } - } - - } - } - - } -} - - -?> - - - - - -<?php - - - include 'report.php'; - foreach($dropType as $value) { - $prefix=$typeToPrefix[$value]; - echo " - <table width=\"100%\" cellpadding=2> - <tr bgcolor=\"#999999\"> - <td align=left width=\"30%\"><b><a name=\"$value\"><font color=\"#FFFFFF\" face=\"Arial,Helvetica\">$value"; - echo "</font></a></b></td> - </TR> - <TR> - <td align=left> - <TABLE width=\"100%\" CELLPADDING=2> - <tr> - <td width=\"30%\"><b>Build Name</b></td> - <td><b>Build Date</b></td> - </tr>"; - - $aBucket = $buckets[$prefix]; - if (isset($aBucket)) { - rsort($aBucket); - - $i = 0; - $ts = array(); - $ts2iv = array(); - foreach($aBucket as $iv) { - $parts = explode("-", $iv); - $ts[$i] = $parts[2]; - $ts2iv[$ts[$i]] = $iv; - $i++; - } - - rsort($ts); - $i = 0; - $aBucket = array(); - foreach($ts as $tsvalue) { - $aBucket[$i] = $ts2iv[$tsvalue]; - $i++; - } - - foreach($aBucket as $innerValue) { - $parts = explode("-", $innerValue); - echo "<tr>"; - - // Uncomment the line below if we need click through licenses. - // echo "<td><a href=\"license.php?license=drops/$innerValue\">$parts[1]</a></td>"; - - // Comment the line below if we need click through licenses. - echo "<td><a href=\"drops/$innerValue/\">$parts[1]</a></td>"; - - echo "<td>$timeStamps[$innerValue]</td>"; - - $testResults = parse_testResult("drops/$innerValue/testResults.php"); - list ($compileErrors, $compileWarnings, $junitFailures) = $testResults; - $violations = parse("drops/$innerValue/apitools/index.xml", "count=\""); - $tc = parse("drops/$innerValue/apitools/index-api-tc.xml", "missing-coverage-count=\""); - $removed_apis = parse("drops/$innerValue/apitools/index-api-compatibility.xml", "removed-api-count=\""); - echo "<td width=\"50\"><img src=\"http://archive.eclipse.org/webtools/downloads/compile_err.gif\" width=\"16\" height=\"16\"/><font color=red>$compileErrors</font></td>"; - echo "<td width=\"50\"><img src=\"http://archive.eclipse.org/webtools/downloads/compile_warn.gif\" width=\"16\" height=\"16\"/><font color=orange>$compileWarnings</font></td>"; - echo "<td width=\"50\"><img src=\"http://archive.eclipse.org/webtools/downloads/junit_err.gif\" width=\"16\" height=\"16\"/><font color=red>$junitFailures</font></td>"; - echo "<td width=\"50\"><img src=\"http://archive.eclipse.org/webtools/downloads/api_err.gif\" width=\"20\" height=\"16\"/><font color=red>$violations</font></td>"; - echo "<td width=\"50\"><img src=\"http://archive.eclipse.org/webtools/downloads/api_junit.gif\"/ width=\"16\" height=\"16\"/><font color=red>$tc</font></td>"; - echo "<td width=\"50\"><img src=\"http://archive.eclipse.org/webtools/downloads/api_removed.gif\" width=\"20\" height=\"16\"/><font color=red>$removed_apis</font></td>"; - - echo "</tr>"; - } - } - echo "</table></table>"; - } - -?> - - -<table border="0" width="100%" cellpadding="2"> - <tbody> - <tr> - <td valign="top"> - </td> - <td width="350" valign="top"> - <table border="0" cellpadding="2"> - <tbody> - <tr> - <td width="100%" colspan="4" bgcolor="#0080c0" - valign="top"><b><font face="Arial,Helvetica"><font - color="#ffffff">Metrics Legend</font> </font></b></td> - </tr> - - - - - <tr> - <td valign="top"><img - src="http://download.eclipse.org/webtools/downloads/compile_err.gif" /></td> - <td width="50%">compilation errors.</td> - <td valign="top"><img - src="http://download.eclipse.org/webtools/downloads/compile_warn.gif" /></td> - <td width="50%">compilation warnings.</td> - </tr> - <tr> - <td valign="top"><img - src="http://download.eclipse.org/webtools/downloads/junit_err.gif" /></td> - <td width="50%">junit failures.</td> - <td valign="top"><img - src="http://download.eclipse.org/webtools/downloads/api_err.gif" /></td> - <td width="50%">API violations.</td> - </tr> - <tr> - <td valign="top"><img - src="http://download.eclipse.org/webtools/downloads/api_junit.gif" /></td> - <td width="50%">APIs without junit testcases.</td> - <td valign="top"><font class="indexsub"> <img - src="http://download.eclipse.org/webtools/downloads/api_removed.gif" /></font></td> - <td width="50%">removed APIs.</td> - </tr> - - - - - </tbody> - </table> - </td> - </tr> - </tbody> -</table> - -<!-- footer --> -<center> -<hr /> -<p>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>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>.</p> -</center> -<!-- end footer --> - -</body> -</html> diff --git a/downloadsites/webtools/archive/junit_err.gif b/downloadsites/webtools/archive/junit_err.gif deleted file mode 100644 index 1b7ff9de097c6edf4a1f8bea018859942d04bb65..0000000000000000000000000000000000000000 Binary files a/downloadsites/webtools/archive/junit_err.gif and /dev/null differ diff --git a/downloadsites/webtools/archive/junk.html b/downloadsites/webtools/archive/junk.html deleted file mode 100644 index 895dfc1a32de0e2b187b9f6e1e97d9a643d24a2e..0000000000000000000000000000000000000000 --- a/downloadsites/webtools/archive/junk.html +++ /dev/null @@ -1,55 +0,0 @@ -<html> -<head> -<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css"> -<title>Archive of Eclipse WebTools Project Downloads</title> -</head> -<body> - -<!-- heading start --> -<center><p>Reminder: this is <font color="#FF0000"></font> See also <a href="http://download.eclipse.org/webtools/downloads" target="_top">Live public eclipse site</a>.</center><hr /> - - - - -<table border=0 cellpadding=2 width="100%"> - <tr> - <td width="72%"><font class=indextop> Web Tools Platform<br> - downloads</font> <br> - <font class=indexsub>archived downloads from the Web Tools Platform project</font><br> - </td> - <td width="28%"><img - src="http://dev.eclipse.org/images/Idea.jpg" height=86 - width=120></td> - </tr> -</table> - -<!-- heading end --> - - -<hr /> -<table border=0 cellpadding=2 width="100%"> - <tr> - <td> - <p>On this page you can find the <b>archived builds</b> produced - by the <a href="http://www.eclipse.org/webtools/" target="_top"> - Eclipse Webtools Project (WTP)</a>. Archived builds consist of - older releases and not propagated to Eclipse mirrors.</p> - </td> - </tr> - - <tr> - <td align=left width="72%"> - <p>If you got here to this <b>archive</b> site by accident or - casual browsing, please be aware that more <a - href="http://download.eclipse.org/webtools/downloads/" - target="_top"> current builds</a> are available!</p> - </td> - </tr> - - -</table> - - - - -<table border=0 cellpadding=2 width="100%"><tr><td colspan="2" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Latest Downloads</td></font></b></td></tr></table> \ No newline at end of file