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

fix for files.count

parent 61608a96
No related branches found
No related tags found
No related merge requests found
......@@ -90,17 +90,10 @@
</target>
<target name="countFiles">
<!-- files.count is a file that should exist in the drop directory with a count of the zip files in the same directory.
<!--
files.count is a file that should exist in the drop directory with a count of the zip files in the same directory.
It is required to generate a link to the build on the downloads page.
Added remove .zip.MD5 - old files before a count
-->
<delete>
<fileset dir="${result}" id="id">
<include name="*.MD5" />
</fileset>
</delete>
<taskdef name="countFiles" classname="org.eclipse.releng.generators.FileCounter" />
-->
<countFiles sourceDirectory="${result}" filterString=".zip,.tar.gz" outputFile="${result}/files.count" />
......
......@@ -80,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>
......
......@@ -325,20 +325,12 @@
</target>
<target name="countFiles">
<!-- files.count is a file that should exist in the drop directory with a count of the zip files in the same directory.
<!--
files.count is a file that should exist in the drop directory with a count of the zip files in the same directory.
It is required to generate a link to the build on the downloads page.
Added remove .zip.MD5 - old files before a count
-->
<delete>
<fileset dir="${resultDir}" id="id">
<include name="*.MD5" />
</fileset>
</delete>
<!-- <taskdef name="countFiles"
classname="org.eclipse.wtp.releng.tools.FileCounter" />
-->
<countBuildFiles sourceDirectory="${resultDir}"
<countBuildFiles sourceDirectory="${resultDir}"
filterString=".zip,.tar.gz"
outputFile="${resultDir}/files.count" />
......
......@@ -257,7 +257,7 @@ foreach ($compileSummary->summaryItem as $summaryItem) {
echo "<img src=\"http://download.eclipse.org/webtools/downloads/junit_err.gif\"/><font color=\"" . $errorColor . "\">" . $unitTests_grandTotalErrors . "</font>&nbsp;&nbsp;Total: " . $unitTests_grandTotalTests;
}
else {
echo "<font color=\"orange\">Unit tests are pending</font>";
echo "<br /><font color=\"orange\">Unit tests are pending</font>";
}
?> <br />
<a href="compileResults.php">Compile logs: Code Bundles</a> <?php
......
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