blob: 25cdb298452144c20e727fbdbe1b2db9c9767c11 [file] [log] [blame]
david_williams88cbf012009-01-12 21:53:05 +00001<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4
5<title>WTP Incubator Downloads</title>
6
7
8<?php
9
10$buildBranch="@buildBranch@";
11$build="@build@";
12$type="@type@";
13$builddate="@date@";
14
15$eclipseMirrorPrefixuri="@eclipse.mirror.prefixuri@";
16$eclipseFSpathPrefix="@eclipse.fspath.prefix@";
17
18$eclipsefilelinux="@eclipsefilelinux@";
19$eclipsefilewindows="@eclipsefilewindows@";
20$eclipsefilemacosx="@eclipsefilemacos@";
21
22$eclipseURL="@eclipseURL@";
23$eclipseFile="@eclipseFile@";
24$eclipseBuildURL="@eclipseBuildURL@";
25$eclipseBuildHome="@eclipseBuildHome@";
26$testURL="@testURL@";
27$testFile="@testFile@";
28
29$wstURL="@wstURL@";
30$wstFile="@wstFile@";
31$wstMirrorPrefixuri="@wst.mirror.prefixuri@";
32$wstBuildHome="@wstBuildHome@";
33
david_williams59064142009-01-14 09:40:07 +000034$jstURL="@jstURL@";
35$jstFile="@jstFile@";
36$jstMirrorPrefixuri="@jst.mirror.prefixuri@";
37$jstBuildHome="@jstBuildHome@";
38
39$wtpURL="@wtpURL@";
40$wtpFile="@wtpFile@";
41$wtpMirrorPrefixuri="@wtp.mirror.prefixuri@";
42$wtpBuildHome="@wtpBuildHome@";
david_williams88cbf012009-01-12 21:53:05 +000043
44$gefURL="@gefURL@";
45$gefFile="@gefFile@";
46$gefMirrorPrefixuri="@gef.mirror.prefixuri@";
47$gefBuildHome="@gefBuildHome@";
48
49$emfURL="@emfURL@";
50$emfFile="@emfFile@";
51$emfMirrorPrefixuri="@emf.mirror.prefixuri@";
52$emfBuildHome="@emfBuildHome@";
53
54$dtpURL="@dtpURL@";
55$dtpFile="@dtpFile@";
56$dtpMirrorPrefixuri="@dtp.mirror.prefixuri@";
57$dtpBuildHome="@dtpBuildHome@";
58
59
60$eclipserelengFile="@eclipserelengFile@";
61$eclipserelengURL="@eclipserelengURL@";
62$orbitthirdpartyzipFile="@orbitthirdpartyzipFile@";
63$orbitthirdpartyzipURL="@orbitthirdpartyzipURL@";
64$orbitthirdpartyzipBuildHome="@orbitthirdpartyzipBuildHome@";
65$orbitthirdpartyzipMirrorPrefixuri="@orbitthirdpartyzip.mirror.prefixuri@";
66
67
68
69
70include("miscUtil.php");
71
72
73
74ini_set("display_errors", "true");
75error_reporting (E_ALL);
76
77
78$debugScript = false;
79$debugFunctions = false;
80
81$defaultMirrorScript="";
82$defaultWTPMirrorPrefix="./";
83
84$eclipseMirrorScript="http://www.eclipse.org/downloads/download.php?file=";
85
86// TODO: improve so this hard coding isn't required.
87// This depends on the declare script changing webtools/committers to webtools/downloads
88// And, the logic is such that if it is not mirrored, this URI is not used at all, just
89// a relative reference only
90$eclipseWTPMirrorPrefix="/webtools/committers/drops/$buildBranch/$build/";
91
92
93$mirrorScript=$defaultMirrorScript;
94$downloadprefix=$defaultWTPMirrorPrefix;
95
96
97$keytestMirrorString=$eclipseMirrorScript . "$eclipseWTPMirrorPrefix/wtp-incubator-jaxws-sdk-$build.zip";
98if (isMirrored($keytestMirrorString) ) {
99 $mirrorScript=$eclipseMirrorScript;
100 $downloadprefix="${mirrorScript}${eclipseWTPMirrorPrefix}";
101}
102
103if ($debugScript) {
104 echo "inferred platform: " . getPlatform();
105}
106
107
108// our summary results handling requires php 5 (for simple xml file loading)
109// so, if not php 5, just don't display any summary results
110// This was found to be required, since some mirror our whole site (e.g. IBM)
111// and not all mirrors use PHP 5
112$displayTestSummary=false;
113if (phpversion() >= 5) {
114
115 $displayTestSummary=true;
116 // expecting grandTotalErrors and grandTotalTests
117 $filename = "unitTestsSummary.xml";
118 if (file_exists($filename)) {
119 $prefix = "unitTests_";
120 $unitTestsSummary = simplexml_load_file($filename);
121 foreach ($unitTestsSummary->summaryItem as $summaryItem) {
122 $name = $summaryItem->name;
123 $value = $summaryItem->value;
124 $code= "\$" . $prefix . $name . " = " . $value . ";";
125 //echo "<br />code: " . $code;
126 eval($code);
127 }
128 }
129
130 $filename = "compilelogsSummary.xml";
131 $prefix = "code_";
132 $compileSummary = simplexml_load_file($filename);
133 foreach ($compileSummary->summaryItem as $summaryItem) {
134 $name = $summaryItem->name;
135 $value = $summaryItem->value;
136 $code= "\$" . $prefix . $name . " = " . $value . ";";
137 //echo "<br />code: " . $code;
138 eval($code);
139 }
140
141 $filename = "testcompilelogsSummary.xml";
142 $prefix = "test_";
143 $compileSummary = simplexml_load_file($filename);
144 foreach ($compileSummary->summaryItem as $summaryItem) {
145 $name = $summaryItem->name;
146 $value = $summaryItem->value;
147 $code= "\$" . $prefix . $name . " = " . $value . ";";
148 //echo "<br />code: " . $code;
149 eval($code);
150 }
151}
152
153
154?>
155
156
157</head>
158
159<body>
160
161
162<?php
163
164// tiny banner to remind when looking at "local" machine results
165$serverName = $_SERVER["SERVER_NAME"];
166
167if (!stristr($serverName, "eclipse.org") && !stristr($serverName,"you.are.at.eclipsecon.org")) {
168 echo '<center>
169 <p>
170 Reminder: this is <font color="#FF0000">' .
171 $serverName .
172 '</font>
173 See also
174 <a href="http://download.eclipse.org/webtools/downloads" target="_top">the live public Eclipse site</a>.
175 </p>
176 <hr />
177 </center>';
178
179}
180?>
181<table BORDER=0 CELLSPACING=2 CELLPADDING=2 WIDTH="100%">
182 <tr>
183 <td ALIGN=left><font face="'Bitstream Vera',Helvetica,Arial" size="+2"><b><?php echo "$type";?>
184 Build: <?php echo "$build";?></b></font></td>
185 <td align="right" rowspan="3"><a
186 href="http://www.eclipse.org/projects/what-is-incubation.php"><img
187 src="http://www.eclipse.org/images/egg-incubation.png" alt="Incubation"
188 align="middle" border="0"></a></td>
189
190 <tr valign="top">
191 <td><font size="-1"><?php echo "$builddate";?></font></td>
192 </tr>
193 <tr valign="top">
194 <td>
195 <p>The Eclipse Web Tools Platform (WTP) Incubator Project provides
196 tools for development that are just getting started, or are
197 experimental in some fashion.</p>
198 </td>
199 </tr>
200</table>
201
202<!-- *********** Required Prerequisites ************** -->
203<table border=0 cellspacing=2 cellpadding=2 width="100%">
204 <tr>
205 <td align="left" valign="top" bgcolor="#0080C0"><font
206 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">Required
207 Prerequisites and Handy Extras</font></td>
208 </tr>
209 <tr>
210 <td>
david_williams0902bf82009-01-14 05:14:11 +0000211 <p>These are the prerequisites to install and run these packages.
212 Also listed are some frequently needed links for
213 committer-required packages when creating new development
214 environments, or targets to run against.</p>
david_williams88cbf012009-01-12 21:53:05 +0000215 <p>Note that WTP requires Java 5 or higher (and, for some things,
216 actually requires a JDK rather than only a JRE) even though many other
217 <a href="http://www.eclipse.org/downloads/">Eclipse Projects</a> can
218 run with <a href="http://www.eclipse.org/downloads/moreinfo/jre.php">other
219 JRE levels</a>.</p><p></p>
220 </td>
221 </tr>
222 <tr>
223 <td>
224 <table border=0 cellspacing=1 cellpadding=1 width="90%" align="center">
225 <tr valign="top">
226 <td width="10%"></td>
227 <td width="40%">Eclipse Platform (Platform, JDT)</td>
228 <?php
229 //customize page depending on user's browser/platform, if we can detect it
230 $usersPlatform = getPlatform();
231 // assume windows by default, since likely most frequent, even for cases where
232 // platform is "unknown". I've noticed Opera reports 'unknown' :(
233 $recommendedFile=$eclipsefilewindows;
234 if (strcmp($usersPlatform,"linux")== 0) {
235 $recommendedFile=$eclipsefilelinux;
236 } else if (strcmp($usersPlatform,"mac") == 0) {
237 $recommendedFile=$eclipsefilemacosx;
238 }
239 ?>
240 <td align="right"><?php
241 echo getPrereqReferenceOrName($eclipseMirrorScript, $eclipseMirrorPrefixuri, $eclipseURL, $recommendedFile, $eclipseFSpathPrefix);
242 echo " or <a href=\"" . $eclipseBuildURL . "\">appropriate platform</a>";
243 echo " or <a href=\"" . $eclipseBuildHome . "\">equivalent</a></td>";
244 ?>
245
246 </tr>
247
248 <tr valign="top">
249 <td width="10%"></td>
david_williams88cbf012009-01-12 21:53:05 +0000250 <td>Eclipse Modeling Framework (EMF, XSD InfoSet)</td>
251 <td align="right"><?php
252 echo getPrereqReferenceOrName($eclipseMirrorScript, $emfMirrorPrefixuri, $emfURL, $emfFile, $eclipseFSpathPrefix);
253 echo " or <a href=\"" . $emfBuildHome . "\">equivalent</a></td>";
254 ?>
david_williams88cbf012009-01-12 21:53:05 +0000255 </tr>
256
257 <tr valign="top">
258 <td width="10%"></td>
259 <td>Graphical Editing Framework (GEF)</td>
260 <td align="right"><?php
261 echo getPrereqReferenceOrName($eclipseMirrorScript, $gefMirrorPrefixuri, $gefURL, $gefFile, $eclipseFSpathPrefix);
262 echo " or <a href=\"" . $gefBuildHome . "\">equivalent</a></td>";
263 ?>
264
265 </tr>
266
267 <tr valign="middle">
268 <td width="10%"></td>
269 <td colspan="2">
270 <hr />
271 </td>
272 </tr>
273
david_williams46c431c2009-01-14 08:26:27 +0000274
275 <tr valign="top">
276 <td width="10%"></td>
277 <td>Web Tools Platform portion</td>
278 <td align="right"><?php
279 // debug
280 // echo "debug: full path: " . $eclipseFSpathPrefix . "/" . $wstMirrorPrefixuri . "/" . $wstFile;
281
282 echo getPrereqReferenceOrName($eclipseMirrorScript, $wtpMirrorPrefixuri, $wtpURL, $wtpFile, $eclipseFSpathPrefix);
283 echo " or <a href=\"" . $wtpBuildHome . "\">equivalent</a></td>";
284 ?>
285
286 </tr>
287 <tr valign="middle">
288 <td width="10%"></td>
289 <td colspan="2">
290 <hr />
291 </td>
292 </tr>
293
david_williams88cbf012009-01-12 21:53:05 +0000294 <tr valign="top">
295 <td width="10%"></td>
296 <td>Eclipse Test Framework (required only for Automated JUnit tests)</td>
297 <td align="right"><?php
298 echo getPrereqReferenceOrName($eclipseMirrorScript, $eclipseMirrorPrefixuri, $testURL, $testFile, $eclipseFSpathPrefix);
299 echo " or <a href=\"" . $eclipseBuildHome . "\">equivalent</a></td>";
300 ?>
301
302 </tr>
303
304 <tr valign="top">
305 <td width="10%"></td>
306 <td>Eclipse releng tool (required only for committers to more easily
307 "release" code to a build)</td>
308 <td align="right"><?php
309 echo getPrereqReferenceOrName($eclipseMirrorScript, $eclipseMirrorPrefixuri, $eclipserelengURL, $eclipserelengFile, $eclipseFSpathPrefix);
310 echo " or <a href=\"" . $eclipseBuildHome . "\">equivalent</a></td>";
311 ?>
312
313 </tr>
314
315 <tr valign="top">
316 <td width="10%"></td>
317 <td>Third Party code from Orbit (currently much more than needed
318 for WTP, but some committers like having the whole heap in their
319 target)</td>
320 <td align="right"><?php
321 echo getPrereqReferenceOrName($eclipseMirrorScript, $orbitthirdpartyzipMirrorPrefixuri, $orbitthirdpartyzipURL, $orbitthirdpartyzipFile,$eclipseFSpathPrefix);
322 echo " or <a href=\"" . $orbitthirdpartyzipBuildHome . "\">equivalent</a></td>";
323 ?>
324
325 </tr>
326
327 </table>
328 </td>
329 </tr>
330</table>
331
332<!-- *********** WTP ************** -->
333<table border=0 cellspacing=2 cellpadding=2 width="100%">
334 <tr>
335 <td align=left valign=top colspan="5" bgcolor="#0080C0"><font
336 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF"> Web Tools
337 Incubating Components</font></td>
338 </tr>
339
340 <tr>
341 <td align="left" valign="top" colspan="5">
342 <p>The Zip files includes the features and plugins for the WTP Incubator XML VEX Component.</p>
343 </td>
344 </tr>
345 <tr>
346 <td>
347 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
348
349
350 <tr>
351 <td align="left" valign="top" width="10%"><b>Minimal</b></td>
352 <td align="left" valign="top">
353 <p>Executable code only.</p>
354 </td>
355 <?php
356 $zipfilename="wtp-incubator-jaxws-${build}";
357 $filename=$zipfilename.".zip";
358 $zipfilesize=fileSizeForDisplay($filename);
359 $fileShortDescription="jaxws";
360 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
361 ?>
362 </tr>
363
364 <tr>
365 <td align="left" valign="top" width="10%"><b>SDK</b></td>
366 <td align="left" valign="top">
367 <p>Executable code and source code.</p>
368 </td>
369 <?php
370 $zipfilename="wtp-incubator-jaxws-sdk-${build}";
371 $filename=$zipfilename.".zip";
372 $zipfilesize=fileSizeForDisplay($filename);
373 $fileShortDescription="jaxws sdk";
374 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
375 ?>
376 </tr>
377 <tr>
378 <td align="left" valign="top" width="10%"><b>Tests</b></td>
379 <td align="left" valign="top">
380 <p>Unit tests.</p>
381 </td>
382 <?php
383 $zipfilename="wtp-incubator-jaxws-tests-${build}";
384 $filename=$zipfilename.".zip";
385 $zipfilesize=fileSizeForDisplay($filename);
386 $fileShortDescription="jaxws tests";
387 displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
388 ?>
389 </tr>
390 </table>
391 </td>
392
393
394 <tr>
395
396</table>
397
398
399
400
401
402
403
404<!-- *********** Build Status ************** -->
405<table border=0 cellspacing=2 cellpadding=2 width="100%">
406 <tr>
407 <td align=left valign=top bgcolor="#0080C0"><font
408 face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">Status, tests
409 and other interesting details</font></td>
410 </tr>
411 <tr>
412 <td>
413 <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
414
415 <tr>
416 <td><a href="buildNotes.php">Build notes</a> <br />
417 <a href="directory.txt">map files</a> <br />
418 <?php
419
420 if ($displayTestSummary) {
421
422
423 if (isset($unitTests_grandTotalErrors)) {
424 $errorColor="green";
425 if ($unitTests_grandTotalErrors > 0) {
426 $errorColor="red";
427 }
428 echo "<a href=\"testResults.php\">Unit test results</a>&nbsp;";
429 echo "<img src=\"junit_err.gif\"/><font color=\"" . $errorColor . "\">" . $unitTests_grandTotalErrors . "</font>&nbsp;&nbsp;Total: " . $unitTests_grandTotalTests;
430 }
431 else {
david_williams8eb01032009-01-14 08:32:59 +0000432 // we hardly ever "pend" anymore ... abscense usually signifies no tests or a build error.
433 echo "<br /><font color=\"orange\">Unit tests don't exists, are pending, or there's a build error.</font>
434 //&nbsp;&nbsp;<img src=\"pending.gif\"/>";
david_williams88cbf012009-01-12 21:53:05 +0000435 }
436
437 echo "<br />";
438 echo "<a href=\"compileResults.php\">Compile logs: Code Bundles</a>";
439
440 echo "&nbsp;&nbsp;($code_totalBundles)&nbsp;&nbsp;";
441 echo "<img src=\"compile_err.gif\"/><font color=red>$code_totalErrors</font>&nbsp;";
442 echo "<img src=\"compile_warn.gif\"/><font color=orange>$code_totalWarnings</font>&nbsp;";
443 echo "<img src=\"access_err.gif\"/><font color=red>$code_totalforbiddenAccessWarningCount</font>&nbsp;";
444 echo "<img src=\"access_warn.gif\"/><font color=orange>$code_totaldiscouragedAccessWarningCount</font>&nbsp;";
445
446 echo "<br />";
447 echo "<a href=\"testCompileResults.php\">Compile logs: Test Bundles</a>";
448
449 echo "&nbsp;&nbsp;($test_totalBundles)&nbsp;&nbsp;";
450 echo "<img src=\"compile_err.gif\"/><font color=red>$test_totalErrors</font>&nbsp;";
451 echo "<img src=\"compile_warn.gif\"/><font color=orange>$test_totalWarnings</font>&nbsp;";
452 echo "<img src=\"access_err.gif\"/><font color=red>$test_totalforbiddenAccessWarningCount</font>&nbsp;";
453 echo "<img src=\"access_warn.gif\"/><font color=orange>$test_totaldiscouragedAccessWarningCount</font>&nbsp;";
454 }
455
456 ?> <br />
457
458 <?php
459 if (file_exists("versioningReportName.php")) {
460 include "versioningReportName.php";
461 $fname="${versionReportFilename}.html";
462 if (file_exists($fname)) {
463 echo "<br /> <a href='$fname'>Versioning Information</a>";
464 }
465}
466?> <?php
467echo "<br />";
468if (file_exists("./apiresults/api-progress.html"))
469{
470 echo "<br /> <a href=\"apiresults/api-progress.html\">API Progress Report</a>";
471}
472if (file_exists("./apiresults/api-info-summary.html"))
473{
474 echo "<br /> <a href=\"apiresults/api-info-summary.html\">APIs Defined by Each Component</a>";
475}
476if (file_exists("./apiresults/api-ref-compatibility.html"))
477{
478 echo "<br /> <a href=\"apiresults/api-ref-compatibility.html\">Adopter Breakage Report</a>";
479}
480if (file_exists("./apiresults/api-violation-summary.html"))
481{
482 echo "<br /> <a href=\"apiresults/api-violation-summary.html\">API Violations</a>";
483}
484if (file_exists("./apiresults/component-api-violation-all.html"))
485{
486 echo "<br /> <a href=\"apiresults/component-api-violation-all.html\">Non-API dependencies</a>";
487}
488if (file_exists("./apiresults/api-tc-summary.html"))
489{
490 echo "<br /> <a href=\"apiresults/api-tc-summary.html\">API Test Coverage</a>";
491}
492if (file_exists("./apiresults/api-javadoc-summary.html"))
493{
494 echo "<br /> <a href=\"apiresults/api-javadoc-summary.html\">API Javadoc Coverage</a>";
495}
496if (file_exists("./apiresults/api-tc-summary.html"))
497{
498 echo "<br /><br /> <a href=\"apiresults/full_test_coverage/api-tc-summary.html\">Test Coverage for All Classes and Methods</a>";
499}
500?> <?php
501if (file_exists("./perfresults/graph/performance.php"))
502{
503 echo "<br />";
504 echo "<br /> <a href=\"perfresults/graph/performance.php\">Performance Results</a>";
505 echo "<br />";
506}
507?></td>
508 </tr>
509
510
511 </table>
512 </td>
513 </tr>
514</table>
515
516
517
518<!-- footer -->
519<center>
520<hr>
521<p>All downloads are provided under the terms and conditions of the <a
522 href="http://www.eclipse.org/legal/notice.html">Eclipse.org Software
523User Agreement</a> unless otherwise specified.</p>
524
525<p>If you have problems downloading the drops, contact the <font
526 face="'Bitstream Vera',Helvetica,Arial" size="-1"><a
527 href="mailto:webmaster@eclipse.org">webmaster</a></font>.</p>
528
529</center>
530<!-- end footer -->
531
532
533</body>
534</html>