forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r106425 - /forrest/trunk/main/build.xml
Date Wed, 24 Nov 2004 16:09:07 GMT
Author: rgardler
Date: Wed Nov 24 08:09:05 2004
New Revision: 106425

URL: http://svn.apache.org/viewcvs?view=rev&rev=106425
Log:
clean plugin directory when testing plugins in order to verify plugins are being correctly
installed
Modified:
   forrest/trunk/main/build.xml

Modified: forrest/trunk/main/build.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/main/build.xml?view=diff&rev=106425&p1=forrest/trunk/main/build.xml&r1=106424&p2=forrest/trunk/main/build.xml&r2=106425
==============================================================================
--- forrest/trunk/main/build.xml	(original)
+++ forrest/trunk/main/build.xml	Wed Nov 24 08:09:05 2004
@@ -257,14 +257,17 @@
           description="Test that the features are okay before committing."/>
   
   <target name="testPlugins"
+          depends="cleanPlugins"
           description="test each of the plugins">
     <!-- FIXME: need to iterate over all plugins when testing -->
     <ant antfile="../plugins/org.apache.forrest.plugin.pdf-output/build.xml" target="test">
       <property name="basedir" location="../plugins/org.apache.forrest.plugin.pdf-output"/>
     </ant>
-    <ant antfile="../plugins/org.apache.forrest.plugin.XHTML-output/build.xml" target="test">
-      <property name="basedir" location="../plugins/org.apache.forrest.plugin.XHTML-output"/>
-    </ant>
+  </target>
+  
+  <target name="cleanPlugins"
+          description="Remove installed plugins before testing to ensure they are correctly
installed when run">
+    <delete dir="../build/plugins"/>
   </target>
 
   <target name="testseed" depends="init">

Mime
View raw message