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

minor fix for formatting of results

parent cb1e0227
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
buildLabel: <buildType>-<buildName>-<timestamp> buildLabel: <buildType>-<buildName>-<timestamp>
--> -->
<property name="result" <property name="result"
value="${buildDirectory}/${buildLabel}" /> value="${buildDirectory}/${buildLabel}" />
<!--name of generated index page--> <!--name of generated index page-->
<property name="indexFileName" value="index.php" /> <property name="indexFileName" value="index.php" />
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<target name="generateIndex"> <target name="generateIndex">
<property name="class" <property name="class"
value="org.eclipse.releng.generators.TestResultsGenerator" /> value="org.eclipse.releng.generators.TestResultsGenerator" />
<taskdef name="indexResults" classname="${class}" /> <taskdef name="indexResults" classname="${class}" />
<!-- <!--
...@@ -41,18 +41,33 @@ ...@@ -41,18 +41,33 @@
--> -->
<property file="${buildDirectory}/maps/releng/maps/dependencies.properties" /> <property file="${buildDirectory}/maps/releng/maps/dependencies.properties" />
<!-- create table of test plugin compiles first -->
<indexResults isBuildTested="${isBuildTested}" <indexResults isBuildTested="${isBuildTested}"
dropTokenList="${dropTokenList}" dropTokenList="${dropTokenList}"
xmlDirectoryName="${result}/testResults/xml" xmlDirectoryName=""
dropDirectoryName="${result}" dropDirectoryName="${result}"
testResultsTemplateFileName="${basedir}/templateFiles/testResults.php.template" testResultsTemplateFileName="${basedir}/templateFiles/testCompileResults.php.template"
dropTemplateFileName="${basedir}/templateFiles/${indexTemplateFilename}" dropTemplateFileName="${basedir}/templateFiles/${indexTemplateFilename}"
testResultsHtmlFileName="testResults.php" testResultsHtmlFileName="testCompileResults.php"
dropHtmlFileName="${indexFileName}" dropHtmlFileName="${indexFileName}"
hrefTestResultsTargetPath="testResults/html" hrefTestResultsTargetPath=""
hrefCompileLogsTargetPath="compilelogs" hrefCompileLogsTargetPath="testcompilelogs"
compileLogsDirectoryName="${result}/compilelogs" compileLogsDirectoryName="${result}/testcompilelogs"
testManifestFileName="${basedir}/testManifest.xml" /> testManifestFileName="${basedir}/testManifest.xml" />
<!-- create table of code plugins compiles and test results second -->
<indexResults isBuildTested="${isBuildTested}"
dropTokenList="${dropTokenList}"
xmlDirectoryName="${result}/testResults/xml"
dropDirectoryName="${result}"
testResultsTemplateFileName="${basedir}/templateFiles/testResults.php.template"
dropTemplateFileName="${basedir}/templateFiles/${indexTemplateFilename}"
testResultsHtmlFileName="testResults.php"
dropHtmlFileName="${indexFileName}"
hrefTestResultsTargetPath="testResults/html"
hrefCompileLogsTargetPath="compilelogs"
compileLogsDirectoryName="${result}/compilelogs"
testManifestFileName="${basedir}/testManifest.xml" />
<indexResults isBuildTested="${isBuildTested}" <indexResults isBuildTested="${isBuildTested}"
dropTokenList="${dropTokenList}" dropTokenList="${dropTokenList}"
...@@ -69,7 +84,7 @@ ...@@ -69,7 +84,7 @@
<tstamp> <tstamp>
<format property="TODAY" <format property="TODAY"
pattern="MMMM d, yyyy" /> pattern="MMMM d, yyyy" />
</tstamp> </tstamp>
<!-- Insert Build Type descriptor --> <!-- Insert Build Type descriptor -->
...@@ -77,49 +92,49 @@ ...@@ -77,49 +92,49 @@
<!-- Insert Build Date --> <!-- Insert Build Date -->
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@date@" token="@date@"
value="${TODAY}" /> value="${TODAY}" />
<!-- Insert Build Name --> <!-- Insert Build Name -->
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@build@" token="@build@"
value="${buildLabel}" /> value="${buildLabel}" />
<!-- Insert Mirror Name --> <!-- Insert Mirror Name -->
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@mirror@" token="@mirror@"
value="${webtoolsDownloadURL}/${buildBranch}/${buildLabel}/" /> value="${webtoolsDownloadURL}/${buildBranch}/${buildLabel}/" />
<!-- Insert PreRequsites --> <!-- Insert PreRequsites -->
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@eclipseFile@" token="@eclipseFile@"
value="${eclipse.file.linux-gtk-x86}" /> value="${eclipse.file.linux-gtk-x86}" />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@eclipseURL@" token="@eclipseURL@"
value="${eclipse.url}/${eclipse.file.linux-gtk-x86}" /> value="${eclipse.url}/${eclipse.file.linux-gtk-x86}" />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@eclipseBuildURL@" token="@eclipseBuildURL@"
value="${eclipse.url}" /> value="${eclipse.url}" />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@emfFile@" token="@emfFile@"
value="${emf.file}" /> value="${emf.file}" />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@emfURL@" token="@emfURL@"
value="${emf.url}" /> value="${emf.url}" />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@gefFile@" token="@gefFile@"
value="${gef.file}" /> value="${gef.file}" />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@gefURL@" token="@gefURL@"
value="${gef.url}/${gef.file}" /> value="${gef.url}/${gef.file}" />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@jemFile@" token="@jemFile@"
value="${jem.file}" /> value="${jem.file}" />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@jemURL@" token="@jemURL@"
value="${jem.url}/${jem.file}" /> value="${jem.url}/${jem.file}" />
<!-- <!--
these token/s should not exist in maintenance stream, but these token/s should not exist in maintenance stream, but
no harm done, so in the interests of keeping builder no harm done, so in the interests of keeping builder
streams in sync, we'll leave them here as place hold streams in sync, we'll leave them here as place hold
...@@ -133,7 +148,7 @@ ...@@ -133,7 +148,7 @@
<mkdir dir="${result}/whatisfixed" /> <mkdir dir="${result}/whatisfixed" />
<echo file="${result}/whatisfixed/buglog.html" <echo file="${result}/whatisfixed/buglog.html"
append="true"> append="true">
what is fixed list is not available yet! what is fixed list is not available yet!
</echo> </echo>
...@@ -152,7 +167,7 @@ ...@@ -152,7 +167,7 @@
<mkdir dir="${result}/buildnotes" /> <mkdir dir="${result}/buildnotes" />
<copy todir="${result}/buildnotes" flatten="true"> <copy todir="${result}/buildnotes" flatten="true">
<fileset dir="${buildDirectory}/plugins" <fileset dir="${buildDirectory}/plugins"
includes="**/buildnotes_*.html" /> includes="**/buildnotes_*.html" />
</copy> </copy>
</target> </target>
...@@ -168,68 +183,68 @@ ...@@ -168,68 +183,68 @@
</delete> </delete>
<taskdef name="countFiles" <taskdef name="countFiles"
classname="org.eclipse.releng.generators.FileCounter" /> classname="org.eclipse.releng.generators.FileCounter" />
<countFiles sourceDirectory="${result}" <countFiles sourceDirectory="${result}"
filterString=".zip,.tar.gz" filterString=".zip,.tar.gz"
outputFile="${result}/files.count" /> outputFile="${result}/files.count" />
</target> </target>
<!--Build type descriptors--> <!--Build type descriptors-->
<target name="I"> <target name="I">
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="%wtpandprereqs%" token="%wtpandprereqs%"
value=" " /> value=" " />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@type@" token="@type@"
value="Integration" /> value="Integration" />
</target> </target>
<target name="S"> <target name="S">
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="%wtpandprereqs%" token="%wtpandprereqs%"
value=" " /> value=" " />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@type@" token="@type@"
value="Stable" /> value="Stable" />
</target> </target>
<target name="N"> <target name="N">
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="%wtpandprereqs%" token="%wtpandprereqs%"
value=" " /> value=" " />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@type@" token="@type@"
value="Nightly" /> value="Nightly" />
</target> </target>
<target name="M"> <target name="M">
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="%wtpandprereqs%" token="%wtpandprereqs%"
value=" " /> value=" " />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@type@" token="@type@"
value="Maintenance" /> value="Maintenance" />
</target> </target>
<target name="R"> <target name="R">
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="%wtpandprereqs%" token="%wtpandprereqs%"
value=" " /> value=" " />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@type@" token="@type@"
value="Release" /> value="Release" />
</target> </target>
<target name="T"> <target name="T">
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="%wtpandprereqs%" token="%wtpandprereqs%"
value=" " /> value=" " />
<replace file="${result}/${indexFileName}" <replace file="${result}/${indexFileName}"
token="@type@" token="@type@"
value="Test" /> value="Test" />
</target> </target>
</project> </project>
\ No newline at end of file
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