diff --git a/releng.wtpbuilder/distribution/jsf.site/publish.xml b/releng.wtpbuilder/distribution/jsf.site/publish.xml index d904ffd25f8bf4707c157cda907397f034ae7b36..66a5daff366ba52434ef1c05bc2814c5a991e3a7 100644 --- a/releng.wtpbuilder/distribution/jsf.site/publish.xml +++ b/releng.wtpbuilder/distribution/jsf.site/publish.xml @@ -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" /> diff --git a/releng.wtpbuilder/distribution/wtp.site/build.xml b/releng.wtpbuilder/distribution/wtp.site/build.xml index e2ba36ce24447c80c744d0c93fccbdaedd584a99..15b5b79d9109afa46fc582b44715aa90a15656c6 100644 --- a/releng.wtpbuilder/distribution/wtp.site/build.xml +++ b/releng.wtpbuilder/distribution/wtp.site/build.xml @@ -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> diff --git a/releng.wtpbuilder/distribution/wtp.site/publish.xml b/releng.wtpbuilder/distribution/wtp.site/publish.xml index 6068b744d429f9d54e06c01a848ae1017c3cf111..c9bd55d8cfb1dc4fd50962b8dc4a2f241bd42680 100644 --- a/releng.wtpbuilder/distribution/wtp.site/publish.xml +++ b/releng.wtpbuilder/distribution/wtp.site/publish.xml @@ -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" /> diff --git a/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template b/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template index 405a462a8ce7223241eba3f53470d3f549e5e3c2..f241a78684a459279edcca46b6ff4d1b6fa53ecd 100644 --- a/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template +++ b/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template @@ -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> 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