improving versioning test and display
diff --git a/releng.wtpbuilder/components/wst.tests/customTargets.xml b/releng.wtpbuilder/components/wst.tests/customTargets.xml
index fe34e94..a8ac8e9 100644
--- a/releng.wtpbuilder/components/wst.tests/customTargets.xml
+++ b/releng.wtpbuilder/components/wst.tests/customTargets.xml
@@ -191,7 +191,15 @@
<!-- ===================================================================== -->
<!-- Steps to do after running the build.xmls for the elements being built. -->
<!-- ===================================================================== -->
- <target name="postProcess"></target>
+ <target name="postProcess">
+
+ <condition property="logsAvailable">
+ <istrue value="${javacVerbose}" />
+ </condition>
+ <antcall target="gatherLogs" />
+
+
+ </target>
<!-- ===================================================================== -->
@@ -220,7 +228,39 @@
<!-- Steps to do to publish the build results -->
<!-- ===================================================================== -->
<target name="publish"></target>
+ <!-- ===================================================================== -->
+ <!-- Helper targets -->
+ <!-- ===================================================================== -->
+ <target
+ name="gatherLogs"
+ if="logsAvailable">
+ <mkdir dir="${buildDirectory}/${buildLabel}/testcompilelogs" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/testcompilelogs"
+ overwrite="true">
+ <fileset dir="${buildDirectory}/features/org.eclipse.wst.tests.feature">
+ <include name="**/*.log.zip" />
+ </fileset>
+ </unzip>
+
+
+ </target>
+
+ <target
+ name="clean"
+ unless="noclean">
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="cleanElement" />
+ </antcall>
+ </target>
<!-- ===================================================================== -->
<!-- Default target -->
<!-- ===================================================================== -->