Skip to content
Snippets Groups Projects
Commit b1d22d68 authored by david_williams's avatar david_williams
Browse files

minor cleanup

parent 0a7857a9
No related branches found
No related tags found
No related merge requests found
Showing
with 4488 additions and 297 deletions
<project name="Build specific targets and properties" default="build">
<project name="Build specific targets and properties" default="build" basedir=".">
<!-- Note to be cross-platform, "environment variables" are only appropriate for
some variables, e.g. ones we set, since properties are case sensitive, even if
the environment variables on your operating system are not, e.g. it will
be ${env.Path} not ${env.PATH} on Windows -->
<property environment="env" />
<!--
Let users override standard properties, if desired.
If directory, file, or some properties do not exist,
then standard properties will be used.
-->
<property file="${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties" />
<!-- load standard properties for production environment -->
<property file="${env.STANDARD_PROPERTIES_DIR}/${ant.project.name}.properties" />
<!-- = = = end standard properties pattern = = = -->
<echo message="ant.file: ${ant.file}"/>
<target name="build">
<java jar="${eclipse.launcher}" fork="true" failonerror="true">
<jvmarg value="-Dosgi.ws=${basews}" />
<jvmarg value="-Dosgi.os=${baseos}" />
<jvmarg value="-Dosgi.arch=${basearch}" />
<jvmarg value="-Dbasews=${basews}" />
<jvmarg value="-Dbaseos=${baseos}" />
<jvmarg value="-Dbasearch=${basearch}" />
<jvmarg value="-Dbuild.home=${build.home}" />
<jvmarg value="-Dosgi.clean=true" />
<jvmarg value="-Dosgi.ws=${env.BASEWS}" />
<jvmarg value="-Dosgi.os=${env.BASEOS}" />
<jvmarg value="-Dosgi.arch=${env.BASEARCH}" />
<jvmarg value="-Dbuild.trial=${build.trial}" />
<jvmarg value="-DbuildBranch=${buildBranch}" />
<jvmarg value="-Dbuild.pack-all-in-one=${build.pack-all-in-one}" />
<jvmarg value="-DbuildType=${buildType}" />
<jvmarg value="-DbuildId=${buildId}" />
<jvmarg value="-DjavacDebugInfo=on" />
......@@ -17,6 +33,8 @@
<jvmarg value="-Dbuild.distribution=${build.distribution}" />
<jvmarg value="-DbuildDirectory=${buildDirectory}" />
<jvmarg value="-Dwtp.builder.home=${wtp.builder.home}" />
<arg value="-data" />
<arg value="${basedir}/workspace" />
<arg value="-application" />
<arg value="org.eclipse.ant.core.antRunner" />
<arg value="-buildfile" />
......@@ -38,25 +56,20 @@
<property name="indexFileName" value="index.php" />
<property name="result" value="${buildDirectory}/${buildLabel}" />
<property name="indexTemplateFilename" value="index.html.template" />
<copy file="${wtp.builder.home}/distribution/wtp.site/templateFiles/${indexTemplateFilename}" tofile="${buildDirectory}/${indexFileName}" />
<condition property="isBuildTested" value="true">
<available file="${buildDirectory}/${buildLabel}/testResults/consolelogs/wtptestlog.txt" />
</condition>
<condition property="isBuildTested" value="false">
<not>
<available file="${buildDirectory}/${buildLabel}/testResults/consolelogs/wtptestlog.txt" />
</not>
<available file="${buildDirectory}/${buildLabel}/testResults/html" />
</condition>
<ant antfile="${publish.xml}" dir="${component.dir}">
<property name="dropTokenList" value="%wtppatch%,%wtpruntime%,%wtpsdk%,%wst%,%wst-sdk%,%wst-tests%,%jst-tests%,%wst-perf-tests%,%jst-perf-tests%,%jpt-runtime%,%jpt-sdk%,%jpt-tests%" />
<!-- use this form if/when mirror redirects desired
<property name="webtoolsDownloadURL" value="http://www.eclipse.org/downloads/download.php?file=/webtools/patches/drops"/>
-->
<property name="webtoolsDownloadURL" value="/webtools/patches/drops"/>
<property name="dropTokenList" value="%wtpruntime%,%wtpsdk%,%wtptest%,%wst%,%wst-sdk%,%wst-tests%,%jst-tests%,%wst-perf-tests%,%jst-perf-tests%,%jpt-runtime%,%jpt-sdk%,%jpt-tests%" />
<property name="webtoolsDownloadURL" value="http://www.eclipse.org/downloads/download.php?file=/webtools/committers/drops"/>
<property name="buildBranch" value="${buildBranch}" />
<property name="build.pack-all-in-one" value="${build.pack-all-in-one}"/>
<property name="isBuildTested" value="${isBuildTested}" />
<property name="indexTemplateFilename" value="${indexTemplateFilename}" />
</ant>
......@@ -67,6 +80,11 @@
<!-- Copy info for build identification -->
<copy file="${buildDirectory}/buildmachineinfo.properties" tofile="${result}/buildmachineinfo.properties" />
<!-- final count files -->
<countBuildFiles sourceDirectory="${buildDirectory}/${buildLabel}"
filterString=".zip,.tar.gz"
outputFile="${buildDirectory}/${buildLabel}/files.count" />
</target>
......
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output
method="html"
indent="yes" />
<xsl:template match="/">
<html>
<body>
<xsl:apply-templates select="compiler" />
</body>
</html>
</xsl:template>
<xsl:template match="compiler">
<h2>Compiler Report</h2>
<p>
Compiler:
<xsl:value-of select="@name" />
<xsl:text> </xsl:text>Version:
<xsl:value-of select="@version" />
</p>
<xsl:apply-templates select="stats"/>
<xsl:apply-templates select="sources" />
</xsl:template>
<xsl:template
name="stats"
match="stats">
<p>Number of source files: <xsl:value-of select="count(..//source)"/>
Number of classfiles: <xsl:value-of select="number_of_classfiles/@value"/>
</p>
<p>
Problems: <xsl:value-of select="problem_summary/@problems"/>
(Errors: <xsl:value-of select="problem_summary/@errors"/>
Warnings: <xsl:value-of select="problem_summary/@warnings"/>
)
</p>
</xsl:template>
<xsl:template
name="sources"
match="sources">
<xsl:if test="count(source) > 0">
<dl>
<xsl:for-each select="source">
<xsl:variable
name="package"
select="normalize-space(@package)">
</xsl:variable>
<xsl:variable
name="path"
select="normalize-space(@path)">
</xsl:variable>
<xsl:variable
name="classname"
select="substring-after($path, $package)">
</xsl:variable>
<xsl:if test="count(problems) > 0">
<dt style="font-weight: bold; color: black">
Source File:
<xsl:value-of select="$package" />
<xsl:value-of select="$classname" />
</dt>
<xsl:apply-templates select="problems" >
<xsl:with-param name="classname"><xsl:value-of select="$classname" /></xsl:with-param>
</xsl:apply-templates>
</xsl:if>
</xsl:for-each>
</dl>
</xsl:if>
</xsl:template>
<xsl:template match="problems">
<xsl:param name="classname" />
<xsl:for-each select="problem">
<dd style="font-weight: normal; color: black">
<xsl:value-of select="position()"/>
<xsl:text>. </xsl:text>
<xsl:value-of select="@severity" />
<xsl:text>: </xsl:text>
<xsl:value-of select="@id" />
<xsl:variable
name="lineNumber"
select="@line">
</xsl:variable>
<xsl:for-each select="message">
<p style="margin-left: +.5in; font-size: -1; margin-top: 0;margin-bottom:0;">
<small>
<xsl:value-of select="@value" />
</small>
</p>
</xsl:for-each>
<xsl:for-each select="source_context">
<xsl:variable
name="pre"
select="substring(@value,0,(@sourceStart + 1))">
</xsl:variable>
<xsl:variable
name="main"
select="substring(@value,(@sourceStart + 1),(((@sourceEnd + 1) - (@sourceStart + 1)) + 1))">
</xsl:variable>
<xsl:variable
name="end"
select="substring(@value,(@sourceEnd + 2))">
</xsl:variable>
<p style="margin-left: +.5in; font-size: -2; margin-top: 0;margin-bottom:0;">
<xsl:value-of select="substring($classname,2)"/>:
</p>
<p style="margin-left: +.5in; font-size: -2;font-family: monospace; margin-top: 0;margin-bottom:0;">
<xsl:value-of select="$lineNumber"/>:
<xsl:value-of select="$pre" />
<b><u>
<xsl:value-of select="$main" />
</u></b>
<xsl:value-of select="$end" />
</p>
</xsl:for-each>
</dd>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
This diff is collapsed.
source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
releng.wtpbuilder/distribution/patches.site/staticDropFiles/access_err.gif

906 B

releng.wtpbuilder/distribution/patches.site/staticDropFiles/access_warn.gif

146 B

<html>
<head>
<?php
$parts = explode("/", getcwd());
$parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1];
echo "<title>Build Notes for $buildName </title>";
function getComponentName( $str ) {
$result = $str;
$startPos = 0;
$pos = strpos($result, "buildnotes_");
if ($pos !== FALSE) {
$startPos = $pos;
$result = substr($result, $startPos + strlen("buildnotes_"));
}
$endPos = strlen($result);
$pos = strrpos($result, ".html", (strlen($result) - strlen(".html")));
if ($pos !== FALSE) {
$endPos = $pos;
$result = substr($result, 0, $endPos);
}
$parts = explode("/", getcwd());
$parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1];
return $result;
}
echo "<title>Build Notes for $buildName </title>";
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
</head>
<body>
<p><b><font face="Verdana" size="+3">Build Notes</font></b> </p>
<table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr>
<tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
Build Notes for <?php echo "$buildName"; ?></font></b></td>
Build Notes for <?php echo "$buildName"; ?></font></b></td>
</tr>
</table>
<table border="0">
<?php
$hasNotes = false;
$aDirectory = dir("buildnotes");
while ($anEntry = $aDirectory->read()) {
if ($anEntry != "." && $anEntry != "..") {
$component = getComponentName($anEntry);
$line = "<td>Component: <a href=\"buildnotes/$anEntry\">$component</a></td>";
echo "<tr>";
echo "$line";
echo "</tr>";
$hasNotes = true;
}
}
$hasNotes = false;
$aDirectory = dir("buildnotes");
while ($anEntry = $aDirectory->read()) {
if ($anEntry != "." && $anEntry != "..") {
$parts = explode("_", $anEntry);
$baseName = $parts[1];
$parts = explode(".", $baseName);
$component = $parts[0];
$line = "<td>Component: <a href=\"buildnotes/$anEntry\">$component</a></td>";
echo "<tr>";
echo "$line";
echo "</tr>";
$hasNotes = true;
}
}
$aDirectory.closedir();
if (!$hasNotes) {
echo "<br>There are no build notes for this build.";
}
if (!$hasNotes) {
echo "<br>There are no build notes for this build.";
}
?>
</table>
......
releng.wtpbuilder/distribution/patches.site/staticDropFiles/compile_err.gif

167 B

releng.wtpbuilder/distribution/patches.site/staticDropFiles/compile_warn.gif

152 B

<html>
<head>
<?php
$parts = explode("/", getcwd());
$parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1];
$consoleLogDirName = "testResults/consolelogs";
$parts = explode("/", getcwd());
$parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1];
echo "<title>Test Console Output for $buildName </title>";
echo "<title>Test Console Output for $buildName </title>";
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
......@@ -18,9 +15,9 @@
<p><b><font face="Verdana" size="+3">Test Console Output</font></b> </p>
<table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console
output from running JUnit plugin tests for
<tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console
output from running JUnit plugin tests for
<?php echo "$buildName"; ?>
</font></b></td>
</tr>
......@@ -28,33 +25,67 @@
<table border="0">
<?php
$hasNotes = false;
if (file_exists($consoleLogDirName)) {
$aDirectory = dir($consoleLogDirName);
$index = 0;
while ($anEntry = $aDirectory->read()) {
if ($anEntry != "." && $anEntry != "..") {
$entries[$index] = $anEntry;
$index++;
}
}
aDirectory.closedir();
sort($entries);
for ($i = 0; $i < $index; $i++) {
$anEntry = $entries[$i];
$line = "<td>Component: <a href=\"$consoleLogDirName/$anEntry\">$anEntry</a></td>";
echo "<tr>";
echo "$line";
echo "</tr>";
$hasNotes = true;
}
}
if (!$hasNotes) {
echo "<br>There are no test logs for this build.";
}
$rootDir = "testResults/consolelogs";
$hasNotes = false;
$aDirectory = dir($rootDir);
$index = 0;
$dirindex = 0;
while ($anEntry = $aDirectory->read()) {
if ($anEntry != "." && $anEntry != "..") {
if (is_file("$rootDir/$anEntry")) {
$entries[$index] = $anEntry;
$index++;
} else if (is_dir("$rootDir/$anEntry")) {
$direntries[$dirindex] = $anEntry;
$dirindex++;
}
}
}
$aDirectory.closedir();
sort($entries);
sort($direntries);
for ($i = 0; $i < $dirindex; $i++) {
$anEntry = $direntries[$i];
$line = "<td><a href=\"testResults/consolelogs/$anEntry/logIndex.php\">$anEntry</a></td>";
echo "<tr>";
echo "$line";
echo "</tr>";
}
for ($i = 0; $i < $index; $i++) {
$anEntry = $entries[$i];
$logsize = filesize("testResults/consolelogs/$anEntry");
$level = 0;
if ($logsize > 20000) {
$level = 2;
}
else if ($logsize > 2000) {
$level = 1;
}
if ($level == 0) {
$line = "<td><a href=\"testResults/consolelogs/$anEntry\">$anEntry</a> ($logsize bytes)</td>";
}
else if ($level == 1) {
$line = "<td><em><a href=\"testResults/consolelogs/$anEntry\">$anEntry</a> ($logsize bytes)</em></td>";
} else if ($level == 2) {
$line = "<td><strong><a href=\"testResults/consolelogs/$anEntry\">$anEntry</a> ($logsize bytes)</strong></td>";
}
echo "<tr>";
echo "$line";
echo "</tr>";
$hasNotes = true;
}
if (!$hasNotes) {
echo "<br>There are no test logs for this build.";
}
?>
</table>
......
releng.wtpbuilder/distribution/patches.site/staticDropFiles/junit_err.gif

220 B

<html>
<head>
<?php
function endsWith( $str, $sub ) {
return ( substr( $str, strlen( $str ) - strlen( $sub ) ) === $sub );
}
$parts = explode("/", getcwd());
$parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1];
echo "<title>Test Console Output for $buildName </title>";
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
<title>Console Logs from Running JUnit Plug-in Tests</title></head>
<body>
<p><b><font face="Verdana" size="+3">Test Console Output</font></b> </p>
<table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr>
<td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console
output from running JUnit plugin tests for
<?php echo "$buildName"; ?>
</font></b></td>
</tr>
</table>
<table border="0">
<?php
$hasNotes = false;
$aDirectory = dir(".");
$index = 0;
while ($anEntry = $aDirectory->read()) {
if ($anEntry != "." && $anEntry != ".." && !endsWith(__FILE__, $anEntry)) {
$entries[$index] = $anEntry;
$index++;
}
}
aDirectory.closedir();
sort($entries);
for ($i = 0; $i < $index; $i++) {
$anEntry = $entries[$i];
$logsize = filesize("$anEntry");
$level = 0;
if ($logsize > 20000) {
$level = 2;
}
else if ($logsize > 2000) {
$level = 1;
}
if ($level == 0) {
$line = "<td><a href=\"$anEntry\">$anEntry</a> ($logsize bytes)</td>";
}
else if ($level == 1) {
$line = "<td><em><a href=\"$anEntry\">$anEntry</a> ($logsize bytes)</em></td>";
} else if ($level == 2) {
$line = "<td><strong><a href=\"$anEntry\">$anEntry</a> ($logsize bytes)</strong></td>";
}
echo "<tr>";
echo "$line";
echo "</tr>";
$hasNotes = true;
}
if (!$hasNotes) {
echo "<br>There are no test logs for this build.";
}
?>
</table>
</body>
</html>
releng.wtpbuilder/distribution/patches.site/staticDropFiles/pending.gif

365 B

releng.wtpbuilder/distribution/patches.site/staticDropFiles/pending1.gif

958 B

<?php
function parse_testResults($filename)
{
$junitFailures = 0;
if (is_file($filename)) {
$handle = @fopen($filename, "r");
if ($handle)
{
$size = filesize($filename);
$content = fread($handle, $size);
fclose($handle);
$junitStart = strpos($content, "Errors &amp; Failures");
$junitEnd = strpos($content, "</table>", $junitStart);
$junitInfo = substr($content, $junitStart, $junitEnd - $junitStart);
$start = strpos($junitInfo, "<td><b><font color=\"#ff0000\">");
while ($start !== false)
{
$start += 29;
$stop = strpos($junitInfo, "</font></b></td>", $start);
if ($stop !== false)
{
$result = substr($junitInfo, $start, $stop - $start);
if (is_numeric($result))
{
$junitFailures += $result;
}
else if (strcmp($result, "DNF") == 0)
{
$junitFailures++;
}
}
$start = strpos($junitInfo, "<td><b><font color=\"#ff0000\">", $stop);
}
$results = array($junitFailures);
return $results;
}
}
}
?>
<eclipsebuild buildlabel="@buildlabel@">
</eclipsebuild>
<eclipsebuild buildlabel="@buildlabel@">
</eclipsebuild>
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="Cloudscape"
name="Cloudscape Plug-in"
version="1.0.0"
provider-name="">
<runtime>
<library name="derby.jar">
<export name="*"/>
</library>
<library name="derbynet.jar">
<export name="*"/>
</library>
<library name="derbytools.jar">
<export name="*"/>
</library>
</runtime>
</plugin>
<html>
<head>
<?php
$parts = explode("/", getcwd());
$parts2 = explode("-", $parts[count($parts) - 1]);
$buildName = $parts2[1];
echo "<title>Compile Logs: Code Bundles for $buildName</title>";
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
.bold, .bold TD, .bold TH, .bold TR
{
font-weight:bold;
}
.numeric, .numeric TD
{
text-align:right;
padding-right:2%;
}
.normaltable, .normaltable TD, .normaltable TH
{
font-family:Bitstream Vera Sans Mono, monospace;
font-size:0.9em;
color:Black;
background-color:White;
}
.errorltable, .errortable TD, .errortable TH
{
font-family:Bitstream Vera Sans Mono, monospace;
font-size:0.9em;
color:Black;
background-color:Red;
font-weight:bold;
}
.warningtable, .warningtable TD, .warningtable TH
{
font-family:Bitstream Vera Sans Mono, monospace;
font-size:0.9em;
color:Black;
background-color:khaki;
}
.extraWarningTable, .extraWarningTable TD, .extraWarningTable TH
{
font-family:Bitstream Vera Sans Mono, monospace;
font-size:0.9em;
color:Black;
background-color:Yellow;
}
</style>
</head>
<body>
<?php
echo "<h1>Compile Logs: Code Bundles for $buildName</h1>";
?>
<table id=tabledata align = "center" width="75%" border="1">
<tr>
<td class="bold" align="center">Compile Logs</td>
<td class="bold" align="center">Compile Errors</td>
<td class="bold" align="center">Compiler Warnings</td>
<td class="bold" align="center">Access Violations</td>
<td class="bold" align="center">Access Warnings</td>
</tr>
%compilelogs%
</table>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
<title>Download</title>
</head>
<body>
&nbsp; <table BORDER=0 CELLSPACING=5 CELLPADDING=2 WIDTH="100%" ><tr><td ALIGN=LEFT width="80%">
<p><b><font face="Verdana" size="+3">@type@ Build: @build@</font></b><br>
@date@
</p>
<p>These downloads are provided under the <a href="http://www.eclipse.org/legal/epl/notice.html">Eclipse Foundation
Software User Agreement</a>.</p>
</td></tr></table>
<!-- *********** Build Status ************** -->
<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF">Build, test and performance</font></b></td></tr></table>
<br>
<br> <a href="buildNotes.php">Build notes</a>
<br> <a href="directory.txt">map files</a>
<br> <a href="testResults.php">Compile logs &amp; test results</a>
<!-- *********** Runtime downloads ************** -->
<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0">
<b><font face="Arial,Helvetica" color="#FFFFFF">
Web Tools Platform Patches
</font></b></td></tr>
<TR><TD align="LEFT" valign="TOP" colspan="3">
The Eclipse Web Tools Platform Project provides tools for Web Development, and is a platform for adopters making add-on tools for Web Development.
<p>The patches found here are very special purpose and may not run correctly in all contexts. You should not download and install this patch unless
directed to by a WTP Commmitter (or, support personnel).
</TD></TR></table>
%wtpandprereqs%
<table border=0 cellspacing=2 cellpadding=0 width="100%" bordercolor="#999999" >
<tr><td align=RIGHT valign=TOP width="7%">
<div align="left"><b>Status</b></div></td>
<td width="34%"><b>Platform</b></td>
<td width="59%"><b>Download</b></td></tr>
%wtppatch%
</table>
<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td colspan="2">&nbsp;</td></tr></table>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>WTP Downloads</title>
<?php
//ini_set("display_errors", "true");
//error_reporting (E_ALL);
//todo: compute downloadprefix based on host server, and stage of declaration
$downloadprefix="./";
// todo: unsure if can handle filenames that are URLs?
function fileSizeInMegs($filename) {
// handy constant to compute file size in megabytes
$onemeg=1024*1024;
$zipfilesize=filesize($filename);
$zipfilesize=round($zipfilesize/$onemeg, 0);
return $zipfilesize;
}
function displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription) {
echo "<td align=\"right\" valign=\"top\" width=\"10%\">";
echo "<a href=\"$downloadprefix$filename\">" . $fileShortDescription . "</a>";
echo "</td><td align=\"right\" valign=\"top\" width=\"5%\">";
echo "(" . $zipfilesize . "M)";
echo "</td>";
echo "<td align=\"right\" valign=\"top\" width=\"5%\">";
echo "[<a href=\"checksum/$filename.md5\">md5</a>]";
echo "</td>";
}
// our summary results handling requires php 5 (for simple xml file loading)
// so, if not php 5, just don't display any summary results
// This was found to be required, since some mirror our whole site (e.g. IBM)
// and not all mirrors use PHP 5
$displayTestSummary=false;
if (phpversion() >= 5) {
$displayTestSummary=true;
// expecting grandTotalErrors and grandTotalTests
$filename = "unitTestsSummary.xml";
if (file_exists($filename)) {
$prefix = "unitTests_";
$unitTestsSummary = simplexml_load_file($filename);
foreach ($unitTestsSummary->summaryItem as $summaryItem) {
$name = $summaryItem->name;
$value = $summaryItem->value;
$code= "\$" . $prefix . $name . " = " . $value . ";";
//echo "<br />code: " . $code;
eval($code);
}
}
$filename = "compilelogsSummary.xml";
$prefix = "code_";
$compileSummary = simplexml_load_file($filename);
foreach ($compileSummary->summaryItem as $summaryItem) {
$name = $summaryItem->name;
$value = $summaryItem->value;
$code= "\$" . $prefix . $name . " = " . $value . ";";
//echo "<br />code: " . $code;
eval($code);
}
$filename = "testcompilelogsSummary.xml";
$prefix = "test_";
$compileSummary = simplexml_load_file($filename);
foreach ($compileSummary->summaryItem as $summaryItem) {
$name = $summaryItem->name;
$value = $summaryItem->value;
$code= "\$" . $prefix . $name . " = " . $value . ";";
//echo "<br />code: " . $code;
eval($code);
}
}
?>
</head>
<body>
<table BORDER=0 CELLSPACING=2 CELLPADDING=2 WIDTH="100%">
<tr>
<td ALIGN=left><font face="'Bitstream Vera',Helvetica,Arial" size="+2"><b>@type@
Build: @build@</b></font></td>
<tr>
<td><font size="-1">@date@</font></td>
</tr>
<tr>
<td>
<p>The Eclipse Web Tools Platform Project provides tools for Web
Development, and is a platform for adopters making add-on tools for
Web Development.</p>
</td>
</tr>
</table>
<!-- *********** Required Prerequisites ************** -->
<table border=0 cellspacing=2 cellpadding=2 width="100%">
<tr>
<td align="left" valign="top" bgcolor="#0080C0"><font
face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">Required
Prerequisites</font></td>
</tr>
<tr>
<td>These are the prerequisites project packages to run the Web Tools
Platform. They must be downloaded and installed before WTP can be
installed or used.</td>
</tr>
<tr>
<td>
<table border=0 cellspacing=1 cellpadding=1 width="90%" align="center">
<tr valign="top">
<td width="10%" />
<td>Eclipse Platform (Platform, JDT, PDE)</td>
<td align="right"><a href="@eclipseURL@">@eclipseFile@</a> or <a
href=@eclipseBuildURL@>other platform</a></td>
</tr>
<tr valign="top">
<td width="10%" />
<td>Eclipse Modeling Framework (EMF, XSD InfoSet, SDO)</td>
<td align="right"><a href="@emfURL@">@emfFile@</a></td>
</tr>
<tr valign="top">
<td width="10%" />
<td>Graphical Editing Framework (GEF)</td>
<td align="right"><a href="@gefURL@">@gefFile@</a></td>
</tr>
<tr valign="top">
<td width="10%" />
<td>Data Tools Platform (DTP)</td>
<td align="right"><a href="@dtpURL@">@dtpFile@</a></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- *********** WTP ************** -->
<table border=0 cellspacing=2 cellpadding=2 width="100%">
<tr>
<td align=left valign=top colspan="5" bgcolor="#0080C0"><font
face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF"> Web Tools
Platform Patches</font></td>
</tr>
<tr>
<td align="left" valign="top" colspan="5">
<p>The Zip files contain patches</p>
</td>
</tr>
<tr>
<td>
<table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
<tr>
<td align="left" valign="top" width="10%"><b>Patches:</b></td>
<td align="left" valign="top">
<p>Care is needed, patches are specific to particular use-cases or adopters.</p>
</td>
<?php
$zipfilename="wtp-@build@";
$filename=$zipfilename.".zip";
$zipfilesize=fileSizeInMegs($filename);
$fileShortDescription="wtp";
displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
?>
</tr>
<tr>
<td align="left" valign="top" width="10%"></td>
<td align="left" valign="top">
<p>The Automated Test zip contains the unit tests.</p>
<?php
$zipfilename="wtp-Automated-Tests-@build@";
$filename=$zipfilename.".zip";
$zipfilesize=fileSizeInMegs($filename);
$fileShortDescription="wtp-Automated-Tests";
displayFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
?>
</tr>
</table>
</td>
<tr>
</table>
<!-- *********** Build Status ************** -->
<table border=0 cellspacing=2 cellpadding=2 width="100%">
<tr>
<td align=left valign=top bgcolor="#0080C0"><font
face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">Status, tests
and other interesting details</font></td>
</tr>
<tr>
<td>
<table border=0 cellspacing=2 cellpadding=2 width="90%" align="center">
<tr>
<td><a href="buildNotes.php">Build notes</a> <br />
<a href="directory.txt">map files</a> <br />
<?php
if ($displayTestSummary) {
if (isset($unitTests_grandTotalErrors)) {
$errorColor="green";
if ($unitTests_grandTotalErrors > 0) {
$errorColor="red";
}
echo "<a href=\"testResults.php\">Unit test results</a>&nbsp;";
echo "<img src=\"junit_err.gif\"/><font color=\"" . $errorColor . "\">" . $unitTests_grandTotalErrors . "</font>&nbsp;&nbsp;Total: " . $unitTests_grandTotalTests;
}
else {
echo "<br /><font color=\"orange\">Unit tests are pending</font>&nbsp;&nbsp;<img src=\"pending.gif\"/>";
}
echo "<br />";
echo "<a href=\"compileResults.php\">Compile logs: Code Bundles</a>";
echo "&nbsp;&nbsp;($code_totalBundles)&nbsp;&nbsp;";
echo "<img src=\"compile_err.gif\"/><font color=red>$code_totalErrors</font>&nbsp;";
echo "<img src=\"compile_warn.gif\"/><font color=orange>$code_totalWarnings</font>&nbsp;";
echo "<img src=\"access_err.gif\"/><font color=red>$code_totalforbiddenAccessWarningCount</font>&nbsp;";
echo "<img src=\"access_warn.gif\"/><font color=orange>$code_totaldiscouragedAccessWarningCount</font>&nbsp;";
echo "<br />";
echo "<a href=\"testCompileResults.php\">Compile logs: Test Bundles</a>";
echo "&nbsp;&nbsp;($test_totalBundles)&nbsp;&nbsp;";
echo "<img src=\"compile_err.gif\"/><font color=red>$test_totalErrors</font>&nbsp;";
echo "<img src=\"compile_warn.gif\"/><font color=orange>$test_totalWarnings</font>&nbsp;";
echo "<img src=\"access_err.gif\"/><font color=red>$test_totalforbiddenAccessWarningCount</font>&nbsp;";
echo "<img src=\"access_warn.gif\"/><font color=orange>$test_totaldiscouragedAccessWarningCount</font>&nbsp;";
}
?>
<br />
<?php
if (file_exists("versioningReportName.php")) {
include "versioningReportName.php";
$fname="${versionReportFilename}.html";
if (file_exists($fname)) {
echo "<br /> <a href='$fname'>Versioning Information</a>";
}
}
?> <?php
echo "<br />";
if (file_exists("./apiresults/api-progress.html"))
{
echo "<br /> <a href=\"apiresults/api-progress.html\">API Progress Report</a>";
}
if (file_exists("./apiresults/api-info-summary.html"))
{
echo "<br /> <a href=\"apiresults/api-info-summary.html\">APIs Defined by Each Component</a>";
}
if (file_exists("./apiresults/api-ref-compatibility.html"))
{
echo "<br /> <a href=\"apiresults/api-ref-compatibility.html\">Adopter Breakage Report</a>";
}
if (file_exists("./apiresults/api-violation-summary.html"))
{
echo "<br /> <a href=\"apiresults/api-violation-summary.html\">API Violations</a>";
}
if (file_exists("./apiresults/component-api-violation-all.html"))
{
echo "<br /> <a href=\"apiresults/component-api-violation-all.html\">Non-API dependencies</a>";
}
if (file_exists("./apiresults/api-tc-summary.html"))
{
echo "<br /> <a href=\"apiresults/api-tc-summary.html\">API Test Coverage</a>";
}
if (file_exists("./apiresults/api-javadoc-summary.html"))
{
echo "<br /> <a href=\"apiresults/api-javadoc-summary.html\">API Javadoc Coverage</a>";
}
if (file_exists("./apiresults/api-tc-summary.html"))
{
echo "<br /><br /> <a href=\"apiresults/full_test_coverage/api-tc-summary.html\">Test Coverage for All Classes and Methods</a>";
}
?> <?php
if (file_exists("./perfresults/graph/performance.php"))
{
echo "<br />";
echo "<br /> <a href=\"perfresults/graph/performance.php\">Performance Results</a>";
echo "<br />";
}
?></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- footer -->
<center>
<hr>
<p>All downloads are provided under the terms and conditions of the <a
href="http://www.eclipse.org/legal/notice.html">Eclipse.org Software
User Agreement</a> unless otherwise specified.</p>
<p>If you have problems downloading the drops, contact the <font
face="'Bitstream Vera',Helvetica,Arial" size="-1"><a
href="mailto:webmaster@eclipse.org">webmaster</a></font>.</p>
</center>
<!-- end footer -->
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment