You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2012/08/09 20:48:45 UTC

svn commit: r1371376 - /incubator/jspwiki/trunk/build.xml

Author: juanpablo
Date: Thu Aug  9 18:48:44 2012
New Revision: 1371376

URL: http://svn.apache.org/viewvc?rev=1371376&view=rev
Log:
    * ant clean target cleans all generated files
       
    * junit reports are generated inside ${tests.report} instead of inside ${tests.src}

Modified:
    incubator/jspwiki/trunk/build.xml

Modified: incubator/jspwiki/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/build.xml?rev=1371376&r1=1371375&r2=1371376&view=diff
==============================================================================
--- incubator/jspwiki/trunk/build.xml (original)
+++ incubator/jspwiki/trunk/build.xml Thu Aug  9 18:48:44 2012
@@ -267,10 +267,19 @@
     <delete dir="${tests.build}" />
     <delete dir="${code.build}" />
     <delete dir="${tests.reports}" />
-    <delete file="etc/jspwiki.properties" />
+  	<delete dir="${docs.javadoc}" />
+  	<delete file="etc/jspwiki.properties" />
+    <delete file="etc/i18n/CoreResources_en.properties" />
+    <delete file="etc/i18n/plugin/PluginResources_en.properties" />
+    <delete file="etc/i18n/templates/default_en.properties" />
+    <delete file="tests/etc/groupdatabase.xml" />
+    <delete file="tests/etc/userdatabase.xml" />
     <delete file="tests/etc/jspwiki.properties" />
     <delete file="tests/etc/jspwiki_rcs.properties" />
     <delete file="tests/etc/jspwiki_vers.properties" />
+    <delete dir="tests/etc/db" />
+    <delete dir="tests/etc/WEB-INF/dtd" />
+    <delete file="tests/etc/WEB-INF/web.xml" />
     <delete>
       <fileset dir="." includes="**/*~" defaultexcludes="no"/>
       <fileset dir="." includes="**/#*#" defaultexcludes="no"/>
@@ -784,11 +793,11 @@
         </batchtest>
      </junit>
 
-  	 <junitreport todir="${tests.src}">
+  	 <junitreport todir="${tests.reports}">
   	    <fileset dir="${tests.reports}">
   	       <include name="**/TEST-*.xml" />
   	    </fileset>
-  	    <report format="noframes" todir="${tests.src}" />
+  	    <report format="noframes" todir="${tests.reports}" />
   	 </junitreport>
      
      <fail message="Test failure detected, check test results." if="test.failed" />