Skip to main content
summaryrefslogtreecommitdiffstats
blob: 7dcd56dcf709e3eaf05f6308278ee47ff7046a42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<?php
include ('buildproperties.php');
function listLogs($myDir) {

        $aDirectory = dir($myDir);
        $index = 0;
        $cdir = getcwd();
        while ($anEntry = $aDirectory->read()) {
            $path = $cdir . "/" . $myDir . "/" . $anEntry;
            if (is_file($path)) {
                $entries[$index] = $anEntry;
                $index++;
            }
        }

        aDirectory.closedir();
        sort($entries);

        if ($index < 0) {
            echo "<br>There are no logs for this build.";
            return;
        }
        for ($i = 0; $i < $index; $i++) {
            $anEntry = $entries[$i];
            $line = "<td><a href=\"$myDir/$anEntry\">$anEntry</a></td>";
            echo "<li>$line</li>";
        }
}

function getBuildId() {
        $parts = explode("/", getcwd());
        $parts2 = explode("-", $parts[count($parts) - 1]);
        $buildName = $parts2[0] . "-" . $parts2[1];

        // Get build type names
        $fileHandle = fopen("./dlconfig2.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]];

        $buildId = $buildType.$buildName;

        return($buildId);

}




?>
<STYLE TYPE="text/css">
<!--
P {text-indent: 30pt;}
-->
</STYLE>


<title>Drop Test Results</title>
		 		  		 		   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		 		  		 		   <meta name="author" content="Eclipse Foundation, Inc." />
		 		  		 		   <meta name="keywords" content="eclipse,project,plug-ins,plugins,java,ide,swt,refactoring,free java ide,tools,platform,open source,development environment,development,ide" />
		 		  		 		   <link rel="stylesheet" type="text/css" href="../../../eclipse.org-common/stylesheets/visual.css" media="screen" />
		 		  		 		   <link rel="stylesheet" type="text/css" href="../../../eclipse.org-common/stylesheets/layout.css" media="screen" />
		 		  		 		   <link rel="stylesheet" type="text/css" href="../../../eclipse.org-common/stylesheets/print.css" media="print" />
		 		  		 		   <script type="text/javascript">

sfHover = function() {
		 		  		 		   var sfEls = document.getElementById("leftnav").getElementsByTagName("LI");
		 		  		 		   for (var i=0; i<sfEls.length; i++) {
		 		  		 		   		 		  		 		   sfEls[i].onmouseover=function() {
		 		  		 		   		 		  		 		   		 		  		 		   this.className+=" sfhover";
		 		  		 		   		 		  		 		   }
		 		  		 		   		 		  		 		   sfEls[i].onmouseout=function() {
		 		  		 		   		 		  		 		   		 		  		 		   this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		 		  		 		   		 		  		 		   }
		 		  		 		   }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
</script>
</head>
<body>
<div id="header">
		 		  		 		   <a href="/"><img src="../../../eclipse.org-common/stylesheets/header_logo.gif" width="163" height="68" border="0" alt="Eclipse Logo" class="logo" /></a>
		 		  		 		   <div id="searchbar">
		 		  		 		   		 		  		 		   <img src="../../../eclipse.org-common/stylesheets/searchbar_transition.gif" width="92" height="26" class="transition" alt="" />
		 		  		 		   		 		  		 		   <img src="../../../eclipse.org-common/stylesheets/searchbar_header.gif" width="64" height="17" class="header" alt="Search" />
		 		  		 		   		 		  		 		   <form method="get" action="/search/search.cgi">
		 		  		 		   		 		  		 		   		 		  		 		   <input type="hidden" name="t" value="All" />
		 		  		 		   		 		  		 		   		 		  		 		   <input type="hidden" name="t" value="Doc" />
		 		  		 		   		 		  		 		   		 		  		 		   <input type="hidden" name="t" value="Downloads" />
		 		  		 		   		 		  		 		   		 		  		 		   <input type="hidden" name="t" value="Wiki" />
		 		  		 		   		 		  		 		   		 		  		 		   <input type="hidden" name="wf" value="574a74" />
		 		  		 		   		 		  		 		   		 		  		 		   <input type="text" name="q" value="" />
		 		  		 		   		 		  		 		   		 		  		 		   <input type="image" class="button" src="../../../eclipse.org-common/stylesheets/searchbar_submit.gif" alt="Submit" onclick="this.submit();" />
		 		  		 		   		 		  		 		   </form>
		 		  		 		   </div>
		 		  		 		   <ul id="headernav">
		 		  		 		   		 		  		 		   <li class="first"><a href="/org/foundation/contact.php">Contact</a></li>
		 		  		 		   		 		  		 		   <li><a href="/legal/">Legal</a></li>
		 		  		 		   </ul>
</div>
<div id="topnavsep"></div>
</div>


</div>
<div id="topnavsep"></div>
<div id="leftcol">
<ul id="leftnav">
<li><a href="logs.php">Logs</a></li>
<li><a href="testResults.php#UnitTest">Unit Test Results</a></li>
<li><a href="testResults.php#PluginsErrors">Plugins Containing Compile Errors</a></li>

  </li>
  <li style="background-image: url(../../../eclipse.org-common/stylesheets/leftnav_fade.jpg); background-repeat: repeat-x; border-style: none;">
                                                                                                  <br /><br /><br /><br /><br />
  </li>
</ul>

</div>



<div id="midcolumn">
<div class="homeitem3col">
<?php
    global $buildId;
    $buildId = getBuildId();
    echo "<title>Release Engineering logs for  $buildId </title>\n";

echo "<h3>Release Engineering Logs for  $buildId</h3>\n";
?>

<?php
        listLogs("buildlogs");
?>
</li>
</ul>
</div>
</div>
</br></br></br>
<div id="footer">
		 		  		 		   <ul id="footernav">
		 		  		 		   		 		  		 		   <li class="first"><a href="/">Home</a></li>
		 		  		 		   		 		  		 		   <li><a href="/legal/privacy.php">Privacy Policy</a></li>
		 		  		 		   		 		  		 		   <li><a href="/legal/termsofuse.php">Terms of Use</a></li>
		 		  		 		   </ul>
		 		  		 		   <p>Copyright &copy; 2006 The Eclipse Foundation. All Rights
Reserved</p>
</div>
</body>
</html>

Back to the top