blob: 0d3a3faa3e9dbef1d17ba70909348adde7061393 [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
5
6
david_williamsb5705572011-05-13 01:45:58 +00007
8
9
10
david_williams2ba99e92011-05-12 23:08:09 +000011<?php
12
13//ini_set("display_errors", "true");
14//error_reporting (E_ALL);
15
16include_once("miscUtil.php");
17include_once('buildvariables.php');
david_williamsb5705572011-05-13 01:45:58 +000018include_once('dependency.properties.php');
david_williams2ba99e92011-05-12 23:08:09 +000019
20// our summary results handling requires php 5 (for simple xml file loading)
21// so, if not php 5, just don't display any summary results
22// This was found to be required, since some mirror our whole site (e.g. IBM)
23// and not all mirrors use PHP 5
24$displayTestSummary=false;
25if (phpversion() >= 5) {
26
david_williamsb5705572011-05-13 01:45:58 +000027 $code_totalBundles=0;
28 $code_totalErrors=0;
29 $code_totalWarnings=0;
30 $code_totalforbiddenAccessWarningCount=0;
31 $code_totaldiscouragedAccessWarningCount=0;
david_williams2ba99e92011-05-12 23:08:09 +000032
david_williamsb5705572011-05-13 01:45:58 +000033 $test_totalBundles=0;
34 $test_totalErrors=0;
35 $test_totalWarnings=0;
36 $test_totalforbiddenAccessWarningCount=0;
37 $test_totaldiscouragedAccessWarningCount=0;
david_williams2ba99e92011-05-12 23:08:09 +000038
39
david_williamsb5705572011-05-13 01:45:58 +000040 $displayTestSummary=true;
41 // expecting grandTotalErrors and grandTotalTests
42 $filename = "unitTestsSummary.xml";
43 if (file_exists($filename)) {
44 $prefix = "unitTests_";
45 $unitTestsSummary = simplexml_load_file($filename);
46 foreach ($unitTestsSummary->summaryItem as $summaryItem) {
47 $name = $summaryItem->name;
48 $value = $summaryItem->value;
49 $code= "\$" . $prefix . $name . " = " . $value . ";";
50 //echo "<br />code: " . $code;
51 eval($code);
52 }
53 }
david_williams2ba99e92011-05-12 23:08:09 +000054
david_williamsb5705572011-05-13 01:45:58 +000055 $filename = "compilelogsSummary.xml";
56 if (file_exists($filename)) {
57 $prefix = "code_";
58 $compileSummary = simplexml_load_file($filename);
59 foreach ($compileSummary->summaryItem as $summaryItem) {
60 $name = $summaryItem->name;
61 $value = $summaryItem->value;
62 $code= "\$" . $prefix . $name . " = " . $value . ";";
63 //echo "<br />code: " . $code;
64 eval($code);
65 }
66 }
david_williams2ba99e92011-05-12 23:08:09 +000067
david_williamsb5705572011-05-13 01:45:58 +000068 $filename = "testcompilelogsSummary.xml";
69 if (file_exists($filename)) {
70 $prefix = "test_";
71 $compileSummary = simplexml_load_file($filename);
72 foreach ($compileSummary->summaryItem as $summaryItem) {
73 $name = $summaryItem->name;
74 $value = $summaryItem->value;
75 $code= "\$" . $prefix . $name . " = " . $value . ";";
76 //echo "<br />code: " . $code;
77 eval($code);
78 }
79 }
david_williams2ba99e92011-05-12 23:08:09 +000080}
81
82
83?>
84
85<?php include 'headingIntro.php';?>
86
87
88<?php include 'displayPrereqs.php';?>
89
90<!-- *********** P2 Zips ************** -->
91
92
93
94<table border=0 cellspacing=2 cellpadding=2 width="100%">
david_williamsb5705572011-05-13 01:45:58 +000095 <tr>
96 <td align=left valign=top colspan="2" bgcolor="#0080C0"><font
97 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">P2
98 repositories in zipped format files.</font></td>
99 </tr>
david_williams2ba99e92011-05-12 23:08:09 +0000100
david_williamsb5705572011-05-13 01:45:58 +0000101 <tr>
102 <td align="left" valign="top" colspan="5">
103 <p>These are archive versions of P2 repositories that can be
104 downloaded and installed into a development environment or PDE target.
105 Its is recommended to install, rather than to to unzip the traditional
106 packages, since it is more informative of missing prerequites or
107 conflicting dependencies.</p>
108 </td>
109 </tr>
david_williams2ba99e92011-05-12 23:08:09 +0000110
david_williamsb5705572011-05-13 01:45:58 +0000111 <tr>
112 <td>
113 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
david_williams2ba99e92011-05-12 23:08:09 +0000114
david_williamsb5705572011-05-13 01:45:58 +0000115 <?php
david_williams2ba99e92011-05-12 23:08:09 +0000116
david_williamsb5705572011-05-13 01:45:58 +0000117 $shortname=$build_distribution."-repo";
david_williams2ba99e92011-05-12 23:08:09 +0000118
david_williamsb5705572011-05-13 01:45:58 +0000119 $zipfilename=$shortname."-".$build;
120 $filename=$zipfilename.".zip";
121 if (file_exists($filename)) {
122 ?>
123 <tr>
124 <td align="left" valign="top" width="10%"><b>Code Repository</b></td>
125 <td align="left" valign="top">
126 <p>Archived p2 repository of WTP code. Good for product builders. </p>
127 </td>
128 <?php
129 $zipfilesize=fileSizeForDisplay($filename);
130
131 displayFileLine($downloadprefix, $filename, $zipfilesize, $shortname);
132 ?>
133 </tr>
134 <?php } ?>
david_williams2ba99e92011-05-12 23:08:09 +0000135 <?php
136
david_williamsb5705572011-05-13 01:45:58 +0000137 $shortname="$build_distribution-tests-repo";
david_williams2ba99e92011-05-12 23:08:09 +0000138
139 $zipfilename=$shortname."-".$build;
david_williamsb5705572011-05-13 01:45:58 +0000140 $filename=$zipfilename.".zip";
141 if (file_exists($filename)) {
142 ?>
143 <tr>
david_williams2ba99e92011-05-12 23:08:09 +0000144 <td align="left" valign="top" width="10%"><b>Tests Repository</b></td>
david_williamsb5705572011-05-13 01:45:58 +0000145 <td align="left" valign="top">
146 <p>Archived p2 repository of WTP code (as above) but also contains unit tests. All-in-one repo, ideal for committers.</p>
147 </td>
148 <?php
149 $zipfilesize=fileSizeForDisplay($filename);
david_williams2ba99e92011-05-12 23:08:09 +0000150
david_williamsb5705572011-05-13 01:45:58 +0000151 displayFileLine($downloadprefix, $filename, $zipfilesize, $shortname);
152 ?>
153 </tr>
154 <?php } ?>
155 </table>
david_williams2ba99e92011-05-12 23:08:09 +0000156
david_williamsb5705572011-05-13 01:45:58 +0000157 </tr>
david_williams2ba99e92011-05-12 23:08:09 +0000158</table>
159
160
161<!-- *********** Traditional Zips ************** -->
162<table border=0 cellspacing=2 cellpadding=2 width="100%">
david_williamsb5705572011-05-13 01:45:58 +0000163 <tr>
164 <td align=left valign=top colspan="5" bgcolor="#0080C0"><font
165 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF"> Traditional
166 Zip Files</font></td>
167 </tr>
david_williams2ba99e92011-05-12 23:08:09 +0000168
david_williamsb5705572011-05-13 01:45:58 +0000169 <tr>
170 <td align="left" valign="top" colspan="5"><?php
171 $zipbellwether_name="$build_distribution-$build.zip";
172 if (file_exists($zipbellwether_name)) {
173 // if-then-include section
174 // include this whole section if (and only if) the bellwether file exists.
175 // For example, may not have been created yet
176 ?>
david_williams2ba99e92011-05-12 23:08:09 +0000177
david_williamsb5705572011-05-13 01:45:58 +0000178 <p>The Zip files includes the features and plugins for this build.</p>
179 <p>Note: These traditional zip files should be considered deprecated,
180 in favor of installing the archived P2 repositories. The tradtional
181 zip files may eventually no longer be provided.</p>
182 <?php } else { ?>
183 <p>The traditonal zip files have not been produced yet (or, perhaps,
184 the build failed or was cancelled). Check back in few minutes.</p>
185 <?php } ?></td>
186 </tr>
187 <tr>
188 <td>
189 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
david_williams2ba99e92011-05-12 23:08:09 +0000190
david_williamsb5705572011-05-13 01:45:58 +0000191 <?php
192 $zipfilename="$build_distribution-$build";
193 $filename=$zipfilename.".zip";
194 if (file_exists($filename)) {
195 ?>
196 <tr>
197 <td align="left" valign="top" width="10%"><b>Web App Developers:</b></td>
198 <td align="left" valign="top" width="55%">
199 <p>This non-SDK package is for most users. It includes the runnable
200 code and end-user documentation for those using the tools to develop
201 web applications.</p>
202 </td>
203 <?php
204 $zipfilesize=fileSizeForDisplay($filename);
205 $fileShortDescription=$build_distribution;
206 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
207 ?>
208 </tr>
209 <?php } ?>
david_williams2ba99e92011-05-12 23:08:09 +0000210
david_williamsb5705572011-05-13 01:45:58 +0000211 <?php
212 $zipfilename=$build_distribution."-sdk-".$build;
213 $filename=$zipfilename.".zip";
214 if (file_exists($filename)) {
215 ?>
216 <tr>
217 <td align="left" valign="top" width="10%"><b>Tool Developers:</b></td>
218 <td align="left" valign="top">
219 <p>The SDK package includes source code and developer documentation
220 for those using WTP as a platform to build more tools, as well as
221 everything that is in the non-SDK version.</p>
222 </td>
223 <?php
224 $zipfilesize=fileSizeForDisplay($filename);
225 $fileShortDescription=$build_distribution . "-sdk";
226 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
227 ?>
228 </tr>
229 <?php } ?>
david_williams2ba99e92011-05-12 23:08:09 +0000230
david_williamsb5705572011-05-13 01:45:58 +0000231 <?php
232 $zipfilename=$build_distribution."-tests-".$build;
233 $filename=$zipfilename.".zip";
234 if (file_exists($filename)) {
235 ?>
236 <tr>
237 <td align="left" valign="top" width="10%"><b>Unit Tests</b></td>
238 <td align="left" valign="top">
239 <p>The automated test zip contains unit tests.</p>
240 </td>
241 <?php
242 $zipfilesize=fileSizeForDisplay($filename);
243 $fileShortDescription=$build_distribution . "-tests";
244 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
245 ?>
246
247 </tr>
248 <?php } ?>
249 </table>
250 </td>
david_williams2ba99e92011-05-12 23:08:09 +0000251
252
david_williamsb5705572011-05-13 01:45:58 +0000253 </tr>
david_williams2ba99e92011-05-12 23:08:09 +0000254
255</table>
256
david_williamsb5705572011-05-13 01:45:58 +0000257 <?php include 'webdev.php'; ?>
david_williams2ba99e92011-05-12 23:08:09 +0000258
david_williamsb5705572011-05-13 01:45:58 +0000259 <?php include 'fproject.php'; ?>
david_williams2ba99e92011-05-12 23:08:09 +0000260
261
262
263<!-- *********** Build Status ************** -->
264<table border=0 cellspacing=2 cellpadding=2 width="100%">
david_williamsb5705572011-05-13 01:45:58 +0000265 <tr>
266 <td align=left valign=top bgcolor="#0080C0"><font
267 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">Status, tests
268 and other interesting details</font></td>
269 </tr>
270 <tr>
271 <td>
272 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
david_williams2ba99e92011-05-12 23:08:09 +0000273
david_williamsb5705572011-05-13 01:45:58 +0000274 <tr>
275 <td><?php
276 if (isset($displayBuildNotes) && $displayBuildNotes) {
277 echo "<a href=\"buildNotes.php\">Build notes</a> <br />";
278 }
279 ?> <a href="directory.txt">map files</a> <br />
280 <?php
david_williams2ba99e92011-05-12 23:08:09 +0000281
david_williamsb5705572011-05-13 01:45:58 +0000282 if (file_exists("components")) {
283 echo "<a href=\"components/components.php\">Misc Components</a> <br />\n";
284 }
david_williams2ba99e92011-05-12 23:08:09 +0000285
286
david_williamsb5705572011-05-13 01:45:58 +0000287 if ($displayTestSummary) {
david_williams2ba99e92011-05-12 23:08:09 +0000288
289
david_williamsb5705572011-05-13 01:45:58 +0000290 if (isset($unitTests_grandTotalErrors)) {
291 $errorColor="green";
292 if ($unitTests_grandTotalErrors > 0) {
293 $errorColor="red";
294 }
295 echo "<a href=\"testResults.php\">Unit test results</a>&nbsp;";
296 echo "<img src=\"junit_err.gif\"/><font color=\"" . $errorColor . "\">" . $unitTests_grandTotalErrors . "</font>&nbsp;&nbsp;Total: " . $unitTests_grandTotalTests;
297 }
298 else {
299 $compileProblemMarkerFile="compilationProblems.txt";
300 if (file_exists($compileProblemMarkerFile)) {
301 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.";
302 } else {
303 $installLogName="p2DirectorInstall.log.txt";
304 if (file_exists($installLogName)) {
305 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";
306 } else {
307 $noTestsProvidedMarkerFile="noTestsProvided.txt";
308 if (file_exists($noTestsProvidedMarkerFile)) {
309 echo "<br /><img src=\"compile_warn.gif\"/>&nbsp;&nbsp;No unit tests available. This build component does not providing any unit tests.";
310 } else {
david_williams2ba99e92011-05-12 23:08:09 +0000311
david_williamsb5705572011-05-13 01:45:58 +0000312 // we may really be pending (tests still running) or maybe they failed in unexpted way?.
313 echo "<br /><font color=\"orange\">Unit tests ae pending, or otherwise don't exists, or there is an unanticipated build error.</font>";
david_williams2ba99e92011-05-12 23:08:09 +0000314
david_williamsb5705572011-05-13 01:45:58 +0000315 }
316 }
317 }
318 }
david_williams2ba99e92011-05-12 23:08:09 +0000319
320
david_williams2ba99e92011-05-12 23:08:09 +0000321
david_williams2ba99e92011-05-12 23:08:09 +0000322
david_williamsb5705572011-05-13 01:45:58 +0000323
324 echo "<br />";
325
326 echo "<br />";
327 echo "<a href=\"compileResults.php\">Compile logs: Code Bundles</a>";
328
329 echo "&nbsp;&nbsp;($code_totalBundles)&nbsp;&nbsp;";
330 echo "<img src=\"compile_err.gif\"/><font color=red>$code_totalErrors</font>&nbsp;";
331 echo "<img src=\"compile_warn.gif\"/><font color=orange>$code_totalWarnings</font>&nbsp;";
332 echo "<img src=\"access_err.gif\"/><font color=red>$code_totalforbiddenAccessWarningCount</font>&nbsp;";
333 echo "<img src=\"access_warn.gif\"/><font color=orange>$code_totaldiscouragedAccessWarningCount</font>&nbsp;";
334
335 echo "<br />";
336 echo "<a href=\"testCompileResults.php\">Compile logs: Test Bundles</a>";
337
338 echo "&nbsp;&nbsp;($test_totalBundles)&nbsp;&nbsp;";
339 echo "<img src=\"compile_err.gif\"/><font color=red>$test_totalErrors</font>&nbsp;";
340 echo "<img src=\"compile_warn.gif\"/><font color=orange>$test_totalWarnings</font>&nbsp;";
341 echo "<img src=\"access_err.gif\"/><font color=red>$test_totalforbiddenAccessWarningCount</font>&nbsp;";
342 echo "<img src=\"access_warn.gif\"/><font color=orange>$test_totaldiscouragedAccessWarningCount</font>&nbsp;";
343
344 $logname="antBuilderOutput.log";
345 if (file_exists($logname)) {
346 echo "<br /> <a href=\"".$logname."\" type=\"text/plain\">Full Log</a> from build ". fileSizeForDisplay($logname);
347 }
348
349
350 }
351
352 ?> <br />
353
354 <?php
355 if (file_exists("versioningReportName.php")) {
356 include "versioningReportName.php";
357 $fname=$versionReportFilename.".html";
358 if (file_exists($fname)) {
359 echo "<br /> <a href='$fname'>Versioning Information</a>";
360 }
361 }
362 ?></td>
363 </tr>
364 </table>
365 </td>
366 </tr>
david_williams2ba99e92011-05-12 23:08:09 +0000367</table>
368
369
370
371<!-- footer -->
372<center>
373<hr>
374<p>All downloads are provided under the terms and conditions of the <a
david_williamsb5705572011-05-13 01:45:58 +0000375 href="http://www.eclipse.org/legal/notice.html">Eclipse.org Software
david_williams2ba99e92011-05-12 23:08:09 +0000376User Agreement</a> unless otherwise specified.</p>
377
378<p>If you have problems downloading the drops, contact the <font
david_williamsb5705572011-05-13 01:45:58 +0000379 face="'Bitstream Vera',Helvetica,Arial" size="-1"><a
380 href="mailto:webmaster@eclipse.org">webmaster</a></font>.</p>
david_williams2ba99e92011-05-12 23:08:09 +0000381
382</center>
383<!-- end footer -->
384
385
386
387
388
david_williamsb5705572011-05-13 01:45:58 +0000389
390
391
392
393
394
david_williams2ba99e92011-05-12 23:08:09 +0000395</body>
396</html>