blob: f6b873cb98703a3d737fad6dc0545db260cfc7f4 [file] [log] [blame]
david_williams8663ee32011-02-14 06:43:20 +00001<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4
nickboldtcc08ff62018-01-15 13:51:41 -05005<!-- generated from releng.wtpbuilder/distribution/wtp4x.site/templateFiles/index.html.template.php -->
nickboldt4982c8a2018-01-16 10:18:48 -05006<!-- DEPRECATED. See webtools.releng.aggregator/wtp-parent/templateFiles/index.html.template.php -->
david_williamsba00a342011-03-12 05:11:19 +00007
david_williams8663ee32011-02-14 06:43:20 +00008<?php
9
10//ini_set("display_errors", "true");
11//error_reporting (E_ALL);
12
13include_once("miscUtil.php");
14include_once('buildvariables.php');
david_williams5e5f04f2011-03-07 20:07:42 +000015include_once('dependency.properties.php');
david_williams8663ee32011-02-14 06:43:20 +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_williams9e7f5842011-03-06 03:32:03 +000024 $code_totalBundles=0;
25 $code_totalErrors=0;
26 $code_totalWarnings=0;
27 $code_totalforbiddenAccessWarningCount=0;
28 $code_totaldiscouragedAccessWarningCount=0;
david_williams8663ee32011-02-14 06:43:20 +000029
david_williams9e7f5842011-03-06 03:32:03 +000030 $test_totalBundles=0;
31 $test_totalErrors=0;
32 $test_totalWarnings=0;
33 $test_totalforbiddenAccessWarningCount=0;
34 $test_totaldiscouragedAccessWarningCount=0;
david_williams8663ee32011-02-14 06:43:20 +000035
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 }
david_williams8663ee32011-02-14 06:43:20 +000051
david_williams9e7f5842011-03-06 03:32:03 +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_williams8663ee32011-02-14 06:43:20 +000064
david_williams9e7f5842011-03-06 03:32:03 +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_williams8663ee32011-02-14 06:43:20 +000077}
78
79
80?>
81
82<?php include 'headingIntro.php';?>
83
84
85<?php include 'displayPrereqs.php';?>
86
david_williams5e5f04f2011-03-07 20:07:42 +000087<!-- *********** P2 Zips ************** -->
david_williams8663ee32011-02-14 06:43:20 +000088
89
90
91<table border=0 cellspacing=2 cellpadding=2 width="100%">
canderson47ce2062011-09-07 14:29:08 +000092 <tr>
93 <td align=left valign=top colspan="2" bgcolor="#0080C0"><font
nickboldtcc08ff62018-01-15 13:51:41 -050094 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">p2 repos (update sites)</font></td>
canderson47ce2062011-09-07 14:29:08 +000095 </tr>
david_williams53da49f2011-03-08 01:33:17 +000096
canderson47ce2062011-09-07 14:29:08 +000097 <tr>
98 <td align="left" valign="top" colspan="5">
nickboldtcc08ff62018-01-15 13:51:41 -050099 <p>These are p2 repositories (or zips of repos). Zips can be
canderson47ce2062011-09-07 14:29:08 +0000100 downloaded and installed into a development environment or PDE target.
nickboldtcc08ff62018-01-15 13:51:41 -0500101 <br/>Do not simply unzip these - you should use Eclipse / p2 to perform an installation instead.</p>
canderson47ce2062011-09-07 14:29:08 +0000102 </td>
103 </tr>
david_williams53da49f2011-03-08 01:33:17 +0000104
david_williams9e7f5842011-03-06 03:32:03 +0000105 <tr>
david_williams5e5f04f2011-03-07 20:07:42 +0000106 <td>
107 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
108
109 <?php
110
111 $shortname=$build_distribution."-repo";
112
113 $zipfilename=$shortname."-".$build;
114 $filename=$zipfilename.".zip";
115 if (file_exists($filename)) {
116 ?>
117 <tr>
nickboldtcc08ff62018-01-15 13:51:41 -0500118 <td align="left" valign="top" width="10%"><b><a href=repository>Code Repository</a></b></td>
david_williams5e5f04f2011-03-07 20:07:42 +0000119 <td align="left" valign="top">
nickboldtcc08ff62018-01-15 13:51:41 -0500120 <p>Archived <a href=repository>p2 repository of WTP code</a>. Good for product builders. </p>
david_williams5e5f04f2011-03-07 20:07:42 +0000121 </td>
122 <?php
123 $zipfilesize=fileSizeForDisplay($filename);
124
125 displayFileLine($downloadprefix, $filename, $zipfilesize, $shortname);
126 ?>
127 </tr>
128 <?php } ?>
129 <?php
130
nickboldtcc08ff62018-01-15 13:51:41 -0500131 $shortname=$build_distribution."-tests-repo";
david_williams5e5f04f2011-03-07 20:07:42 +0000132
133 $zipfilename=$shortname."-".$build;
134 $filename=$zipfilename.".zip";
135 if (file_exists($filename)) {
136 ?>
137 <tr>
nickboldtcc08ff62018-01-15 13:51:41 -0500138 <td align="left" valign="top" width="10%"><b><a href=repositoryunittests>Tests Repository</a></b></td>
david_williams5e5f04f2011-03-07 20:07:42 +0000139 <td align="left" valign="top">
nickboldtcc08ff62018-01-15 13:51:41 -0500140 <p>Archived <a href=repositoryunittests>p2 repository of WTP unit tests</a>.</p>
david_williams5e5f04f2011-03-07 20:07:42 +0000141 </td>
142 <?php
143 $zipfilesize=fileSizeForDisplay($filename);
144
145 displayFileLine($downloadprefix, $filename, $zipfilesize, $shortname);
146 ?>
147 </tr>
148 <?php } ?>
149 </table>
canderson47ce2062011-09-07 14:29:08 +0000150
david_williams5e5f04f2011-03-07 20:07:42 +0000151 </tr>
152</table>
153
154
canderson47ce2062011-09-07 14:29:08 +0000155<!-- *********** Traditional Zips ************** -->
156<table border=0 cellspacing=2 cellpadding=2 width="100%">
157 <tr>
158 <td align=left valign=top colspan="5" bgcolor="#0080C0"><font
159 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF"> Traditional
160 Zip Files</font></td>
161 </tr>
162
163 <tr>
164 <td align="left" valign="top" colspan="5"><?php
165 $zipbellwether_name="$build_distribution-$build.zip";
166 if (file_exists($zipbellwether_name)) {
167 // if-then-include section
168 // include this whole section if (and only if) the bellwether file exists.
169 // For example, may not have been created yet
170 ?>
171
172 <p>The Zip files includes the features and plugins for this build.</p>
173 <p>Note: These traditional zip files should be considered deprecated,
174 in favor of installing the archived P2 repositories. The tradtional
175 zip files may eventually no longer be provided.</p>
176 <?php } else { ?>
177 <p>The traditonal zip files have not been produced yet (or, perhaps,
178 the build failed or was cancelled). Check back in few minutes.</p>
179 <?php } ?></td>
180 </tr>
181 <tr>
182 <td>
183 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
184
185 <?php
186 $zipfilename="$build_distribution-$build";
187 $filename=$zipfilename.".zip";
188 if (file_exists($filename)) {
189 ?>
190 <tr>
191 <td align="left" valign="top" width="10%"><b>Web App Developers:</b></td>
192 <td align="left" valign="top" width="55%">
193 <p>This non-SDK package is for most users. It includes the runnable
194 code and end-user documentation for those using the tools to develop
195 web applications.</p>
196 </td>
197 <?php
198 $zipfilesize=fileSizeForDisplay($filename);
199 $fileShortDescription=$build_distribution;
200 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
201 ?>
202 </tr>
203 <?php } ?>
204
205 <?php
206 $zipfilename=$build_distribution."-sdk-".$build;
207 $filename=$zipfilename.".zip";
208 if (file_exists($filename)) {
209 ?>
210 <tr>
211 <td align="left" valign="top" width="10%"><b>Tool Developers:</b></td>
212 <td align="left" valign="top">
213 <p>The SDK package includes source code and developer documentation
214 for those using WTP as a platform to build more tools, as well as
215 everything that is in the non-SDK version.</p>
216 </td>
217 <?php
218 $zipfilesize=fileSizeForDisplay($filename);
219 $fileShortDescription=$build_distribution . "-sdk";
220 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
221 ?>
222 </tr>
223 <?php } ?>
224
225 <?php
226 $zipfilename=$build_distribution."-tests-".$build;
227 $filename=$zipfilename.".zip";
228 if (file_exists($filename)) {
229 ?>
230 <tr>
231 <td align="left" valign="top" width="10%"><b>Unit Tests</b></td>
232 <td align="left" valign="top">
233 <p>The automated test zip contains unit tests.</p>
234 </td>
235 <?php
236 $zipfilesize=fileSizeForDisplay($filename);
237 $fileShortDescription=$build_distribution . "-tests";
238 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
239 ?>
240
241 </tr>
242 <?php } ?>
243 </table>
244 </td>
245
246
247 </tr>
248</table>
249
250 <?php include 'webdev.php'; ?>
251
252 <?php include 'fproject.php'; ?>
253
254
255
david_williams8663ee32011-02-14 06:43:20 +0000256<!-- *********** Build Status ************** -->
257<table border=0 cellspacing=2 cellpadding=2 width="100%">
david_williams9e7f5842011-03-06 03:32:03 +0000258 <tr>
259 <td align=left valign=top bgcolor="#0080C0"><font
260 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">Status, tests
261 and other interesting details</font></td>
262 </tr>
263 <tr>
264 <td>
265 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
david_williams8663ee32011-02-14 06:43:20 +0000266
david_williams9e7f5842011-03-06 03:32:03 +0000267 <tr>
268 <td><?php
269 if (isset($displayBuildNotes) && $displayBuildNotes) {
270 echo "<a href=\"buildNotes.php\">Build notes</a> <br />";
271 }
272 ?> <a href="directory.txt">map files</a> <br />
273 <?php
david_williams8663ee32011-02-14 06:43:20 +0000274
david_williams5e5f04f2011-03-07 20:07:42 +0000275 if (file_exists("components")) {
276 echo "<a href=\"components/components.php\">Misc Components</a> <br />\n";
277 }
david_williams8663ee32011-02-14 06:43:20 +0000278
279
david_williams9e7f5842011-03-06 03:32:03 +0000280 if ($displayTestSummary) {
david_williams8663ee32011-02-14 06:43:20 +0000281
282
david_williams9e7f5842011-03-06 03:32:03 +0000283 if (isset($unitTests_grandTotalErrors)) {
284 $errorColor="green";
285 if ($unitTests_grandTotalErrors > 0) {
286 $errorColor="red";
287 }
288 echo "<a href=\"testResults.php\">Unit test results</a>&nbsp;";
289 echo "<img src=\"junit_err.gif\"/><font color=\"" . $errorColor . "\">" . $unitTests_grandTotalErrors . "</font>&nbsp;&nbsp;Total: " . $unitTests_grandTotalTests;
290 }
291 else {
292 $compileProblemMarkerFile="compilationProblems.txt";
293 if (file_exists($compileProblemMarkerFile)) {
294 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.";
295 } else {
296 $installLogName="p2DirectorInstall.log.txt";
297 if (file_exists($installLogName)) {
298 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";
299 } else {
300 $noTestsProvidedMarkerFile="noTestsProvided.txt";
301 if (file_exists($noTestsProvidedMarkerFile)) {
302 echo "<br /><img src=\"compile_warn.gif\"/>&nbsp;&nbsp;No unit tests available. This build component does not providing any unit tests.";
303 } else {
david_williams8663ee32011-02-14 06:43:20 +0000304
david_williams9e7f5842011-03-06 03:32:03 +0000305 // we may really be pending (tests still running) or maybe they failed in unexpted way?.
nickboldt4982c8a2018-01-16 10:18:48 -0500306 echo "<br /><font color=\"red\">Unit tests are not available in this build. See latest <a href=\"https://hudson.eclipse.org/webtools/view/webtools_R3_10/\">CI builds here</a> for unit tests per component.</font>";
david_williams8663ee32011-02-14 06:43:20 +0000307
david_williams9e7f5842011-03-06 03:32:03 +0000308 }
309 }
310 }
311 }
david_williams8663ee32011-02-14 06:43:20 +0000312
313
314
315
316
david_williams9e7f5842011-03-06 03:32:03 +0000317 echo "<br />";
david_williams8663ee32011-02-14 06:43:20 +0000318
david_williams9e7f5842011-03-06 03:32:03 +0000319 echo "<br />";
320 echo "<a href=\"compileResults.php\">Compile logs: Code Bundles</a>";
david_williams8663ee32011-02-14 06:43:20 +0000321
david_williams9e7f5842011-03-06 03:32:03 +0000322 echo "&nbsp;&nbsp;($code_totalBundles)&nbsp;&nbsp;";
323 echo "<img src=\"compile_err.gif\"/><font color=red>$code_totalErrors</font>&nbsp;";
324 echo "<img src=\"compile_warn.gif\"/><font color=orange>$code_totalWarnings</font>&nbsp;";
325 echo "<img src=\"access_err.gif\"/><font color=red>$code_totalforbiddenAccessWarningCount</font>&nbsp;";
326 echo "<img src=\"access_warn.gif\"/><font color=orange>$code_totaldiscouragedAccessWarningCount</font>&nbsp;";
david_williams8663ee32011-02-14 06:43:20 +0000327
david_williams9e7f5842011-03-06 03:32:03 +0000328 echo "<br />";
329 echo "<a href=\"testCompileResults.php\">Compile logs: Test Bundles</a>";
david_williams8663ee32011-02-14 06:43:20 +0000330
david_williams9e7f5842011-03-06 03:32:03 +0000331 echo "&nbsp;&nbsp;($test_totalBundles)&nbsp;&nbsp;";
332 echo "<img src=\"compile_err.gif\"/><font color=red>$test_totalErrors</font>&nbsp;";
333 echo "<img src=\"compile_warn.gif\"/><font color=orange>$test_totalWarnings</font>&nbsp;";
334 echo "<img src=\"access_err.gif\"/><font color=red>$test_totalforbiddenAccessWarningCount</font>&nbsp;";
335 echo "<img src=\"access_warn.gif\"/><font color=orange>$test_totaldiscouragedAccessWarningCount</font>&nbsp;";
david_williams8663ee32011-02-14 06:43:20 +0000336
david_williams9e7f5842011-03-06 03:32:03 +0000337 $logname="antBuilderOutput.log";
338 if (file_exists($logname)) {
339 echo "<br /> <a href=\"".$logname."\" type=\"text/plain\">Full Log</a> from build ". fileSizeForDisplay($logname);
340 }
david_williams8663ee32011-02-14 06:43:20 +0000341
342
david_williams9e7f5842011-03-06 03:32:03 +0000343 }
david_williams8663ee32011-02-14 06:43:20 +0000344
david_williams9e7f5842011-03-06 03:32:03 +0000345 ?> <br />
david_williams8663ee32011-02-14 06:43:20 +0000346
david_williams9e7f5842011-03-06 03:32:03 +0000347 <?php
348 if (file_exists("versioningReportName.php")) {
349 include "versioningReportName.php";
david_williams5e5f04f2011-03-07 20:07:42 +0000350 $fname=$versionReportFilename.".html";
david_williams9e7f5842011-03-06 03:32:03 +0000351 if (file_exists($fname)) {
352 echo "<br /> <a href='$fname'>Versioning Information</a>";
353 }
354 }
355 ?></td>
356 </tr>
357 </table>
358 </td>
359 </tr>
david_williams8663ee32011-02-14 06:43:20 +0000360</table>
361
362
363
364<!-- footer -->
365<center>
366<hr>
367<p>All downloads are provided under the terms and conditions of the <a
david_williams9e7f5842011-03-06 03:32:03 +0000368 href="http://www.eclipse.org/legal/notice.html">Eclipse.org Software
david_williams8663ee32011-02-14 06:43:20 +0000369User Agreement</a> unless otherwise specified.</p>
370
371<p>If you have problems downloading the drops, contact the <font
david_williams9e7f5842011-03-06 03:32:03 +0000372 face="'Bitstream Vera',Helvetica,Arial" size="-1"><a
373 href="mailto:webmaster@eclipse.org">webmaster</a></font>.</p>
david_williams8663ee32011-02-14 06:43:20 +0000374
375</center>
376<!-- end footer -->
377
378
david_williams9e7f5842011-03-06 03:32:03 +0000379
380
381
382
383
384
david_williams8663ee32011-02-14 06:43:20 +0000385</body>
386</html>