Author: mmerz
Date: Fri Dec 10 17:56:23 2004
New Revision: 111566

URL: http://svn.apache.org/viewcvs?view=rev&rev=111566
Log:
fixed the build file, added velocity jars, and target to run single test.

Contributor:  Daryoush Mehrtash

Modified:
   incubator/beehive/trunk/wsm/drt/build.xml

Modified: incubator/beehive/trunk/wsm/drt/build.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/build.xml?view=diff&rev=111566&p1=incubator/beehive/trunk/wsm/drt/build.xml&r1=111565&p2=incubator/beehive/trunk/wsm/drt/build.xml&r2=111566
==============================================================================
--- incubator/beehive/trunk/wsm/drt/build.xml   (original)
+++ incubator/beehive/trunk/wsm/drt/build.xml   Fri Dec 10 17:56:23 2004
@@ -58,6 +58,8 @@
         <pathelement location="${lib.dir}/schematypes.jar"/>
         <pathelement location="../build/jars/wsm.jar"/>
         <pathelement location="../build/jars/wsm-axis.jar"/>
+        <pathelement location="${velocity14.jar}"/>
+         <pathelement location="${velocitydep14.jar}"/>
         <fileset refid="axis.jars"/>
     </path>
     <target name="clean">
@@ -138,4 +140,24 @@
         <echo message="|         WSM drt ending                         |"/>
         <echo message="--------------------------------------------------"/>
     </target>
+       
+       
+          <target name="single-test" depends="build">
+               <junit failureproperty="wsmdrtfailed" printsummary="on" 
fork="yes">
+                   <classpath>
+                       <pathelement location="${build.tests}"/>
+                       <path refid="drt.classpath"/>
+                   </classpath>
+                   <formatter type="plain"/>
+                   <batchtest filtertrace="off" todir="${drt.logs}">
+                       <fileset dir="tests">
+                           <include name="**/${testclass}.java"/>  <!-- 
-Dtestclass=xxxxx  must be set in the command line -->
+                           <!-- exclude name="**/util/**.class" / -->
+                           <!-- exclude name="**/AllTests.class" / -->
+                       </fileset>
+                   </batchtest>
+               </junit>
+               <fail if="wsmdrtfailed">One or more tests in the WSM DRT 
failed.</fail>
+           </target>
+
 </project>

Reply via email to