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