blob: 05f444655a90fe6e5a1b421b1704b5f4460924be [file] [log] [blame]
tle170c7902008-10-02 03:15:49 +00001<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4
nickboldt4982c8a2018-01-16 10:18:48 -05005<!-- generated from releng.wtpbuilder/distribution/dali.site/templateFiles/index.html.template.php -->
6<!-- DEPRECATED. See webtools.releng.aggregator/wtp-parent/templateFiles/index.html.template.php -->
david_williamsba00a342011-03-12 05:11:19 +00007
tle170c7902008-10-02 03:15:49 +00008<?php
9
tle237bacc2011-09-29 22:56:14 +000010//ini_set("display_errors", "true");
11//error_reporting (E_ALL);
tle170c7902008-10-02 03:15:49 +000012
tle237bacc2011-09-29 22:56:14 +000013include_once("miscUtil.php");
14include_once('buildvariables.php');
15include_once('dependency.properties.php');
tle170c7902008-10-02 03:15:49 +000016
17// our summary results handling requires php 5 (for simple xml file loading)
18// so, if not php 5, just don't display any summary results
19// This was found to be required, since some mirror our whole site (e.g. IBM)
20// and not all mirrors use PHP 5
21$displayTestSummary=false;
22if (phpversion() >= 5) {
23
tle237bacc2011-09-29 22:56:14 +000024 $code_totalBundles=0;
25 $code_totalErrors=0;
26 $code_totalWarnings=0;
27 $code_totalforbiddenAccessWarningCount=0;
28 $code_totaldiscouragedAccessWarningCount=0;
29
30 $test_totalBundles=0;
31 $test_totalErrors=0;
32 $test_totalWarnings=0;
33 $test_totalforbiddenAccessWarningCount=0;
34 $test_totaldiscouragedAccessWarningCount=0;
35
36
david_williams9e7f5842011-03-06 03:32:03 +000037 $displayTestSummary=true;
38 // expecting grandTotalErrors and grandTotalTests
39 $filename = "unitTestsSummary.xml";
40 if (file_exists($filename)) {
41 $prefix = "unitTests_";
42 $unitTestsSummary = simplexml_load_file($filename);
43 foreach ($unitTestsSummary->summaryItem as $summaryItem) {
44 $name = $summaryItem->name;
45 $value = $summaryItem->value;
46 $code= "\$" . $prefix . $name . " = " . $value . ";";
47 //echo "<br />code: " . $code;
48 eval($code);
49 }
50 }
tle170c7902008-10-02 03:15:49 +000051
david_williams9e7f5842011-03-06 03:32:03 +000052 $filename = "compilelogsSummary.xml";
tle237bacc2011-09-29 22:56:14 +000053 if (file_exists($filename)) {
54 $prefix = "code_";
55 $compileSummary = simplexml_load_file($filename);
56 foreach ($compileSummary->summaryItem as $summaryItem) {
57 $name = $summaryItem->name;
58 $value = $summaryItem->value;
59 $code= "\$" . $prefix . $name . " = " . $value . ";";
60 //echo "<br />code: " . $code;
61 eval($code);
62 }
david_williams9e7f5842011-03-06 03:32:03 +000063 }
tle170c7902008-10-02 03:15:49 +000064
david_williams9e7f5842011-03-06 03:32:03 +000065 $filename = "testcompilelogsSummary.xml";
tle237bacc2011-09-29 22:56:14 +000066 if (file_exists($filename)) {
67 $prefix = "test_";
68 $compileSummary = simplexml_load_file($filename);
69 foreach ($compileSummary->summaryItem as $summaryItem) {
70 $name = $summaryItem->name;
71 $value = $summaryItem->value;
72 $code= "\$" . $prefix . $name . " = " . $value . ";";
73 //echo "<br />code: " . $code;
74 eval($code);
75 }
david_williams9e7f5842011-03-06 03:32:03 +000076 }
tle170c7902008-10-02 03:15:49 +000077}
78
79
80?>
81
tle237bacc2011-09-29 22:56:14 +000082<?php include 'headingIntro.php';?>
tle170c7902008-10-02 03:15:49 +000083
84
tle237bacc2011-09-29 22:56:14 +000085<?php include 'displayPrereqs.php';?>
tle170c7902008-10-02 03:15:49 +000086
tle237bacc2011-09-29 22:56:14 +000087<!-- *********** P2 Zips ************** -->
tle170c7902008-10-02 03:15:49 +000088
89
tle170c7902008-10-02 03:15:49 +000090
tle237bacc2011-09-29 22:56:14 +000091<table border=0 cellspacing=2 cellpadding=2 width="100%">
92 <tr>
93 <td align=left valign=top colspan="2" bgcolor="#0080C0"><font
94 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">P2
95 repositories in zipped format files.</font></td>
96 </tr>
tle170c7902008-10-02 03:15:49 +000097
tle237bacc2011-09-29 22:56:14 +000098 <tr>
99 <td align="left" valign="top" colspan="5">
100 <p>These are archive versions of P2 repositories that can be
101 downloaded and installed into a development environment or PDE target.
102 Its is recommended to install, rather than to to unzip the traditional
103 packages, since it is more informative of missing prerequites or
104 conflicting dependencies.</p>
105 </td>
106 </tr>
107
108 <tr>
109 <td>
110 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
111
112 <?php
113
114 $shortname=$build_distribution."-repo";
115
116 $zipfilename=$shortname."-".$build;
117 $filename=$zipfilename.".zip";
118 if (file_exists($filename)) {
119 ?>
120 <tr>
121 <td align="left" valign="top" width="10%"><b>Code Repository</b></td>
122 <td align="left" valign="top">
123 <p>Archived p2 repository of WTP code. Good for product builders. </p>
124 </td>
david_williams9e7f5842011-03-06 03:32:03 +0000125 <?php
tle237bacc2011-09-29 22:56:14 +0000126 $zipfilesize=fileSizeForDisplay($filename);
127
128 displayFileLine($downloadprefix, $filename, $zipfilesize, $shortname);
129 ?>
130 </tr>
131 <?php } ?>
132 <?php
133
134 $shortname="$build_distribution-tests-repo";
135
136 $zipfilename=$shortname."-".$build;
137 $filename=$zipfilename.".zip";
138 if (file_exists($filename)) {
139 ?>
140 <tr>
141 <td align="left" valign="top" width="10%"><b>Tests Repository</b></td>
142 <td align="left" valign="top">
143 <p>Archived p2 repository of WTP code (as above) but also contains unit tests. All-in-one repo, ideal for committers.</p>
144 </td>
145 <?php
146 $zipfilesize=fileSizeForDisplay($filename);
147
148 displayFileLine($downloadprefix, $filename, $zipfilesize, $shortname);
149 ?>
150 </tr>
151 <?php } ?>
152 </table>
153
154 </tr>
155</table>
156
157
158<!-- *********** Traditional Zips ************** -->
159<table border=0 cellspacing=2 cellpadding=2 width="100%">
160 <tr>
161 <td align=left valign=top colspan="5" bgcolor="#0080C0"><font
162 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF"> Traditional
163 Zip Files</font></td>
164 </tr>
165
166 <tr>
167 <td align="left" valign="top" colspan="5"><?php
168 $zipbellwether_name="$build_distribution-$build.zip";
169 if (file_exists($zipbellwether_name)) {
170 // if-then-include section
171 // include this whole section if (and only if) the bellwether file exists.
172 // For example, may not have been created yet
173 ?>
174
175 <p>The Zip files includes the features and plugins for this build.</p>
176 <p>Note: These traditional zip files should be considered deprecated,
177 in favor of installing the archived P2 repositories. The tradtional
178 zip files may eventually no longer be provided.</p>
179 <?php } else { ?>
180 <p>The traditonal zip files have not been produced yet (or, perhaps,
181 the build failed or was cancelled). Check back in few minutes.</p>
182 <?php } ?></td>
183 </tr>
184 <tr>
185 <td>
186 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
187
188 <?php
189 $zipfilename="$build_distribution-$build";
190 $filename=$zipfilename.".zip";
191 if (file_exists($filename)) {
192 ?>
193 <tr>
194 <td align="left" valign="top" width="10%"><b>Web App Developers:</b></td>
195 <td align="left" valign="top" width="55%">
196 <p>This non-SDK package is for most users. It includes the runnable
197 code and end-user documentation for those using the tools to develop
198 web applications.</p>
199 </td>
200 <?php
201 $zipfilesize=fileSizeForDisplay($filename);
202 $fileShortDescription=$build_distribution;
203 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
204 ?>
205 </tr>
206 <?php } ?>
207
208 <?php
209 $zipfilename=$build_distribution."-sdk-".$build;
210 $filename=$zipfilename.".zip";
211 if (file_exists($filename)) {
212 ?>
213 <tr>
214 <td align="left" valign="top" width="10%"><b>Tool Developers:</b></td>
215 <td align="left" valign="top">
216 <p>The SDK package includes source code and developer documentation
217 for those using WTP as a platform to build more tools, as well as
218 everything that is in the non-SDK version.</p>
219 </td>
220 <?php
221 $zipfilesize=fileSizeForDisplay($filename);
222 $fileShortDescription=$build_distribution . "-sdk";
223 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
224 ?>
225 </tr>
226 <?php } ?>
227
228 <?php
229 $zipfilename=$build_distribution."-tests-".$build;
230 $filename=$zipfilename.".zip";
231 if (file_exists($filename)) {
232 ?>
233 <tr>
234 <td align="left" valign="top" width="10%"><b>Unit Tests</b></td>
235 <td align="left" valign="top">
236 <p>The automated test zip contains unit tests.</p>
237 </td>
238 <?php
239 $zipfilesize=fileSizeForDisplay($filename);
240 $fileShortDescription=$build_distribution . "-tests";
241 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
242 ?>
243
244 </tr>
245 <?php } ?>
246 </table>
247 </td>
248
249
250 </tr>
251
252</table>
253
254
255
256
257<!-- *********** Build Status ************** -->
258<table border=0 cellspacing=2 cellpadding=2 width="100%">
259 <tr>
260 <td align=left valign=top bgcolor="#0080C0"><font
261 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">Status, tests
262 and other interesting details</font></td>
263 </tr>
264 <tr>
265 <td>
266 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
267
268 <tr>
269 <td><?php
270 if (isset($displayBuildNotes) && $displayBuildNotes) {
271 echo "<a href=\"buildNotes.php\">Build notes</a> <br />";
david_williams9e7f5842011-03-06 03:32:03 +0000272 }
tle237bacc2011-09-29 22:56:14 +0000273 ?> <a href="directory.txt">map files</a> <br />
david_williams9e7f5842011-03-06 03:32:03 +0000274 <?php
david_williams9e7f5842011-03-06 03:32:03 +0000275
tle237bacc2011-09-29 22:56:14 +0000276 if (file_exists("components")) {
277 echo "<a href=\"components/components.php\">Misc Components</a> <br />\n";
278 }
david_williams9e7f5842011-03-06 03:32:03 +0000279
280
david_williams9e7f5842011-03-06 03:32:03 +0000281 if ($displayTestSummary) {
tle170c7902008-10-02 03:15:49 +0000282
tle170c7902008-10-02 03:15:49 +0000283
david_williams9e7f5842011-03-06 03:32:03 +0000284 if (isset($unitTests_grandTotalErrors)) {
285 $errorColor="green";
286 if ($unitTests_grandTotalErrors > 0) {
287 $errorColor="red";
288 }
289 echo "<a href=\"testResults.php\">Unit test results</a>&nbsp;";
290 echo "<img src=\"junit_err.gif\"/><font color=\"" . $errorColor . "\">" . $unitTests_grandTotalErrors . "</font>&nbsp;&nbsp;Total: " . $unitTests_grandTotalTests;
291 }
292 else {
tle237bacc2011-09-29 22:56:14 +0000293 $compileProblemMarkerFile="compilationProblems.txt";
294 if (file_exists($compileProblemMarkerFile)) {
295 echo "<br /> <img src=\"compile_err.gif\"/>&nbsp;&nbsp;No unit tests available. The remaining build and tests were canceled since compilation problems were found. Check compiler output summaries.";
296 } else {
297 $installLogName="p2DirectorInstall.log.txt";
298 if (file_exists($installLogName)) {
299 echo "<br /><img src=\"compile_err.gif\"/>&nbsp;&nbsp;No unit tests available. See <a href=\"" . $installLogName . "\">the p2Director install log file </a>from failed test installation attempt";
300 } else {
301 $noTestsProvidedMarkerFile="noTestsProvided.txt";
302 if (file_exists($noTestsProvidedMarkerFile)) {
303 echo "<br /><img src=\"compile_warn.gif\"/>&nbsp;&nbsp;No unit tests available. This build component does not providing any unit tests.";
304 } else {
305
306 // we may really be pending (tests still running) or maybe they failed in unexpted way?.
nickboldt2c259af2017-12-07 14:39:45 -0500307 echo "<br /><font color=\"orange\">Unit tests are pending, or otherwise don't exists, or there is an unanticipated build error.</font>";
tle237bacc2011-09-29 22:56:14 +0000308
309 }
310 }
311 }
david_williams9e7f5842011-03-06 03:32:03 +0000312 }
tle170c7902008-10-02 03:15:49 +0000313
tle237bacc2011-09-29 22:56:14 +0000314
315
316
317
318 echo "<br />";
319
david_williams9e7f5842011-03-06 03:32:03 +0000320 echo "<br />";
321 echo "<a href=\"compileResults.php\">Compile logs: Code Bundles</a>";
322
323 echo "&nbsp;&nbsp;($code_totalBundles)&nbsp;&nbsp;";
324 echo "<img src=\"compile_err.gif\"/><font color=red>$code_totalErrors</font>&nbsp;";
325 echo "<img src=\"compile_warn.gif\"/><font color=orange>$code_totalWarnings</font>&nbsp;";
326 echo "<img src=\"access_err.gif\"/><font color=red>$code_totalforbiddenAccessWarningCount</font>&nbsp;";
327 echo "<img src=\"access_warn.gif\"/><font color=orange>$code_totaldiscouragedAccessWarningCount</font>&nbsp;";
328
329 echo "<br />";
330 echo "<a href=\"testCompileResults.php\">Compile logs: Test Bundles</a>";
331
332 echo "&nbsp;&nbsp;($test_totalBundles)&nbsp;&nbsp;";
333 echo "<img src=\"compile_err.gif\"/><font color=red>$test_totalErrors</font>&nbsp;";
334 echo "<img src=\"compile_warn.gif\"/><font color=orange>$test_totalWarnings</font>&nbsp;";
335 echo "<img src=\"access_err.gif\"/><font color=red>$test_totalforbiddenAccessWarningCount</font>&nbsp;";
336 echo "<img src=\"access_warn.gif\"/><font color=orange>$test_totaldiscouragedAccessWarningCount</font>&nbsp;";
tle237bacc2011-09-29 22:56:14 +0000337
338 $logname="antBuilderOutput.log";
339 if (file_exists($logname)) {
340 echo "<br /> <a href=\"".$logname."\" type=\"text/plain\">Full Log</a> from build ". fileSizeForDisplay($logname);
341 }
342
343
david_williams9e7f5842011-03-06 03:32:03 +0000344 }
345
346 ?> <br />
347
348 <?php
349 if (file_exists("versioningReportName.php")) {
350 include "versioningReportName.php";
tle237bacc2011-09-29 22:56:14 +0000351 $fname=$versionReportFilename.".html";
david_williams9e7f5842011-03-06 03:32:03 +0000352 if (file_exists($fname)) {
353 echo "<br /> <a href='$fname'>Versioning Information</a>";
354 }
tle237bacc2011-09-29 22:56:14 +0000355 }
356 ?></td>
357 </tr>
358 </table>
359 </td>
360 </tr>
361</table>
tle170c7902008-10-02 03:15:49 +0000362
363
364
tle237bacc2011-09-29 22:56:14 +0000365<!-- footer -->
366<center>
367<hr>
368<p>All downloads are provided under the terms and conditions of the <a
369 href="http://www.eclipse.org/legal/notice.html">Eclipse.org Software
370User Agreement</a> unless otherwise specified.</p>
tle170c7902008-10-02 03:15:49 +0000371
tle237bacc2011-09-29 22:56:14 +0000372<p>If you have problems downloading the drops, contact the <font
373 face="'Bitstream Vera',Helvetica,Arial" size="-1"><a
374 href="mailto:webmaster@eclipse.org">webmaster</a></font>.</p>
tle170c7902008-10-02 03:15:49 +0000375
tle237bacc2011-09-29 22:56:14 +0000376</center>
377<!-- end footer -->
378
379
380
381
382
383
384
385
386
tle170c7902008-10-02 03:15:49 +0000387
388
389</body>
390</html>