blob: 2317a890d41b645734cc657d228a17809f8220ba [file] [log] [blame]
david_williams2ba99e92011-05-12 23:08:09 +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/patches32x.site/templateFiles/index.html.template.php -->
6<!-- DEPRECATED. See webtools.releng.aggregator/wtp-parent/templateFiles/index.html.template.php -->
david_williamsb5705572011-05-13 01:45:58 +00007
david_williams2ba99e92011-05-12 23:08:09 +00008<?php
9
10//ini_set("display_errors", "true");
11//error_reporting (E_ALL);
12
13include_once("miscUtil.php");
14include_once('buildvariables.php');
david_williamsb5705572011-05-13 01:45:58 +000015include_once('dependency.properties.php');
david_williams2ba99e92011-05-12 23:08:09 +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
david_williamsb5705572011-05-13 01:45:58 +000024 $code_totalBundles=0;
25 $code_totalErrors=0;
26 $code_totalWarnings=0;
27 $code_totalforbiddenAccessWarningCount=0;
28 $code_totaldiscouragedAccessWarningCount=0;
david_williams2ba99e92011-05-12 23:08:09 +000029
david_williamsb5705572011-05-13 01:45:58 +000030 $test_totalBundles=0;
31 $test_totalErrors=0;
32 $test_totalWarnings=0;
33 $test_totalforbiddenAccessWarningCount=0;
34 $test_totaldiscouragedAccessWarningCount=0;
david_williams2ba99e92011-05-12 23:08:09 +000035
36
david_williamsb5705572011-05-13 01:45:58 +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 }
david_williams2ba99e92011-05-12 23:08:09 +000051
david_williamsb5705572011-05-13 01:45:58 +000052 $filename = "compilelogsSummary.xml";
53 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 }
63 }
david_williams2ba99e92011-05-12 23:08:09 +000064
david_williamsb5705572011-05-13 01:45:58 +000065 $filename = "testcompilelogsSummary.xml";
66 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 }
76 }
david_williams2ba99e92011-05-12 23:08:09 +000077}
78
79
80?>
81
82<?php include 'headingIntro.php';?>
83
84
85<?php include 'displayPrereqs.php';?>
86
87<!-- *********** P2 Zips ************** -->
88
89
90
91<table border=0 cellspacing=2 cellpadding=2 width="100%">
david_williamsb5705572011-05-13 01:45:58 +000092 <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>
david_williams2ba99e92011-05-12 23:08:09 +000097
david_williamsb5705572011-05-13 01:45:58 +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>
david_williams2ba99e92011-05-12 23:08:09 +0000107
david_williamsb5705572011-05-13 01:45:58 +0000108 <tr>
109 <td>
110 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
david_williams2ba99e92011-05-12 23:08:09 +0000111
david_williamsb5705572011-05-13 01:45:58 +0000112 <?php
david_williams2ba99e92011-05-12 23:08:09 +0000113
david_williamsb5705572011-05-13 01:45:58 +0000114 $shortname=$build_distribution."-repo";
david_williams2ba99e92011-05-12 23:08:09 +0000115
david_williamsb5705572011-05-13 01:45:58 +0000116 $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>
125 <?php
126 $zipfilesize=fileSizeForDisplay($filename);
127
128 displayFileLine($downloadprefix, $filename, $zipfilesize, $shortname);
129 ?>
130 </tr>
131 <?php } ?>
david_williams2ba99e92011-05-12 23:08:09 +0000132 <?php
133
david_williamsb5705572011-05-13 01:45:58 +0000134 $shortname="$build_distribution-tests-repo";
david_williams2ba99e92011-05-12 23:08:09 +0000135
136 $zipfilename=$shortname."-".$build;
david_williamsb5705572011-05-13 01:45:58 +0000137 $filename=$zipfilename.".zip";
138 if (file_exists($filename)) {
139 ?>
140 <tr>
david_williams2ba99e92011-05-12 23:08:09 +0000141 <td align="left" valign="top" width="10%"><b>Tests Repository</b></td>
david_williamsb5705572011-05-13 01:45:58 +0000142 <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);
david_williams2ba99e92011-05-12 23:08:09 +0000147
david_williamsb5705572011-05-13 01:45:58 +0000148 displayFileLine($downloadprefix, $filename, $zipfilesize, $shortname);
149 ?>
150 </tr>
151 <?php } ?>
152 </table>
david_williams2ba99e92011-05-12 23:08:09 +0000153
david_williamsb5705572011-05-13 01:45:58 +0000154 </tr>
david_williams2ba99e92011-05-12 23:08:09 +0000155</table>
156
157
158<!-- *********** Traditional Zips ************** -->
159<table border=0 cellspacing=2 cellpadding=2 width="100%">
david_williamsb5705572011-05-13 01:45:58 +0000160 <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>
david_williams2ba99e92011-05-12 23:08:09 +0000165
david_williamsb5705572011-05-13 01:45:58 +0000166 <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 ?>
david_williams2ba99e92011-05-12 23:08:09 +0000174
david_williamsb5705572011-05-13 01:45:58 +0000175 <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">
david_williams2ba99e92011-05-12 23:08:09 +0000187
david_williamsb5705572011-05-13 01:45:58 +0000188 <?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 } ?>
david_williams2ba99e92011-05-12 23:08:09 +0000207
david_williamsb5705572011-05-13 01:45:58 +0000208 <?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 } ?>
david_williams2ba99e92011-05-12 23:08:09 +0000227
david_williamsb5705572011-05-13 01:45:58 +0000228 <?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>
david_williams2ba99e92011-05-12 23:08:09 +0000248
249
david_williamsb5705572011-05-13 01:45:58 +0000250 </tr>
david_williams2ba99e92011-05-12 23:08:09 +0000251
252</table>
253
david_williamsb5705572011-05-13 01:45:58 +0000254 <?php include 'webdev.php'; ?>
david_williams2ba99e92011-05-12 23:08:09 +0000255
david_williamsb5705572011-05-13 01:45:58 +0000256 <?php include 'fproject.php'; ?>
david_williams2ba99e92011-05-12 23:08:09 +0000257
258
259
260<!-- *********** Build Status ************** -->
261<table border=0 cellspacing=2 cellpadding=2 width="100%">
david_williamsb5705572011-05-13 01:45:58 +0000262 <tr>
263 <td align=left valign=top bgcolor="#0080C0"><font
264 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">Status, tests
265 and other interesting details</font></td>
266 </tr>
267 <tr>
268 <td>
269 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
david_williams2ba99e92011-05-12 23:08:09 +0000270
david_williamsb5705572011-05-13 01:45:58 +0000271 <tr>
272 <td><?php
273 if (isset($displayBuildNotes) && $displayBuildNotes) {
274 echo "<a href=\"buildNotes.php\">Build notes</a> <br />";
275 }
276 ?> <a href="directory.txt">map files</a> <br />
277 <?php
david_williams2ba99e92011-05-12 23:08:09 +0000278
david_williamsb5705572011-05-13 01:45:58 +0000279 if (file_exists("components")) {
280 echo "<a href=\"components/components.php\">Misc Components</a> <br />\n";
281 }
david_williams2ba99e92011-05-12 23:08:09 +0000282
283
david_williamsb5705572011-05-13 01:45:58 +0000284 if ($displayTestSummary) {
david_williams2ba99e92011-05-12 23:08:09 +0000285
286
david_williamsb5705572011-05-13 01:45:58 +0000287 if (isset($unitTests_grandTotalErrors)) {
288 $errorColor="green";
289 if ($unitTests_grandTotalErrors > 0) {
290 $errorColor="red";
291 }
292 echo "<a href=\"testResults.php\">Unit test results</a>&nbsp;";
293 echo "<img src=\"junit_err.gif\"/><font color=\"" . $errorColor . "\">" . $unitTests_grandTotalErrors . "</font>&nbsp;&nbsp;Total: " . $unitTests_grandTotalTests;
294 }
295 else {
296 $compileProblemMarkerFile="compilationProblems.txt";
297 if (file_exists($compileProblemMarkerFile)) {
298 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.";
299 } else {
300 $installLogName="p2DirectorInstall.log.txt";
301 if (file_exists($installLogName)) {
302 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";
303 } else {
304 $noTestsProvidedMarkerFile="noTestsProvided.txt";
305 if (file_exists($noTestsProvidedMarkerFile)) {
306 echo "<br /><img src=\"compile_warn.gif\"/>&nbsp;&nbsp;No unit tests available. This build component does not providing any unit tests.";
307 } else {
david_williams2ba99e92011-05-12 23:08:09 +0000308
david_williamsb5705572011-05-13 01:45:58 +0000309 // we may really be pending (tests still running) or maybe they failed in unexpted way?.
nickboldt2c259af2017-12-07 14:39:45 -0500310 echo "<br /><font color=\"orange\">Unit tests are pending, or otherwise don't exists, or there is an unanticipated build error.</font>";
david_williams2ba99e92011-05-12 23:08:09 +0000311
david_williamsb5705572011-05-13 01:45:58 +0000312 }
313 }
314 }
315 }
david_williams2ba99e92011-05-12 23:08:09 +0000316
317
david_williams2ba99e92011-05-12 23:08:09 +0000318
david_williams2ba99e92011-05-12 23:08:09 +0000319
david_williamsb5705572011-05-13 01:45:58 +0000320
321 echo "<br />";
322
323 echo "<br />";
324 echo "<a href=\"compileResults.php\">Compile logs: Code Bundles</a>";
325
326 echo "&nbsp;&nbsp;($code_totalBundles)&nbsp;&nbsp;";
327 echo "<img src=\"compile_err.gif\"/><font color=red>$code_totalErrors</font>&nbsp;";
328 echo "<img src=\"compile_warn.gif\"/><font color=orange>$code_totalWarnings</font>&nbsp;";
329 echo "<img src=\"access_err.gif\"/><font color=red>$code_totalforbiddenAccessWarningCount</font>&nbsp;";
330 echo "<img src=\"access_warn.gif\"/><font color=orange>$code_totaldiscouragedAccessWarningCount</font>&nbsp;";
331
332 echo "<br />";
333 echo "<a href=\"testCompileResults.php\">Compile logs: Test Bundles</a>";
334
335 echo "&nbsp;&nbsp;($test_totalBundles)&nbsp;&nbsp;";
336 echo "<img src=\"compile_err.gif\"/><font color=red>$test_totalErrors</font>&nbsp;";
337 echo "<img src=\"compile_warn.gif\"/><font color=orange>$test_totalWarnings</font>&nbsp;";
338 echo "<img src=\"access_err.gif\"/><font color=red>$test_totalforbiddenAccessWarningCount</font>&nbsp;";
339 echo "<img src=\"access_warn.gif\"/><font color=orange>$test_totaldiscouragedAccessWarningCount</font>&nbsp;";
340
341 $logname="antBuilderOutput.log";
342 if (file_exists($logname)) {
343 echo "<br /> <a href=\"".$logname."\" type=\"text/plain\">Full Log</a> from build ". fileSizeForDisplay($logname);
344 }
345
346
347 }
348
349 ?> <br />
350
351 <?php
352 if (file_exists("versioningReportName.php")) {
353 include "versioningReportName.php";
354 $fname=$versionReportFilename.".html";
355 if (file_exists($fname)) {
356 echo "<br /> <a href='$fname'>Versioning Information</a>";
357 }
358 }
359 ?></td>
360 </tr>
361 </table>
362 </td>
363 </tr>
david_williams2ba99e92011-05-12 23:08:09 +0000364</table>
365
366
367
368<!-- footer -->
369<center>
370<hr>
371<p>All downloads are provided under the terms and conditions of the <a
david_williamsb5705572011-05-13 01:45:58 +0000372 href="http://www.eclipse.org/legal/notice.html">Eclipse.org Software
david_williams2ba99e92011-05-12 23:08:09 +0000373User Agreement</a> unless otherwise specified.</p>
374
375<p>If you have problems downloading the drops, contact the <font
david_williamsb5705572011-05-13 01:45:58 +0000376 face="'Bitstream Vera',Helvetica,Arial" size="-1"><a
377 href="mailto:webmaster@eclipse.org">webmaster</a></font>.</p>
david_williams2ba99e92011-05-12 23:08:09 +0000378
379</center>
380<!-- end footer -->
381
382
383
384
385
david_williamsb5705572011-05-13 01:45:58 +0000386
387
388
389
390
391
david_williams2ba99e92011-05-12 23:08:09 +0000392</body>
393</html>