daveb       01/03/05 15:30:07

  Modified:    build    build-velocity.xml
  Log:
  Added classpath loader test target
  
  Revision  Changes    Path
  1.39      +19 -0     jakarta-velocity/build/build-velocity.xml
  
  Index: build-velocity.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/build/build-velocity.xml,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- build-velocity.xml        2001/03/05 15:56:24     1.38
  +++ build-velocity.xml        2001/03/05 23:30:06     1.39
  @@ -72,6 +72,11 @@
       value="org.apache.velocity.test.MultipleFileResourcePathTest"
     />
   
  +   <property 
  +    name="cpload.resource.test"
  +    value="org.apache.velocity.test.ClasspathResourceTest"
  +  />
  +
     <property 
       name="runtime.defaults.dir" 
       value="org/apache/velocity/runtime/defaults"
  @@ -617,6 +622,20 @@
         </classpath>
       </java>
   
  +  </target>
  +
  +   <target name="test-cpload">
  +    <echo message="Running JUnit ClasspatheResourceTest ..."/>
  +      <java classname="${velocity.test.runner}">
  +      <arg value="${cpload.resource.test}"/>
  +      <classpath>
  +        <pathelement path="${classpath}"/>
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${build.dest}"/>
  +        <pathelement location="../test/cpload/test1.jar"/>
  +        <pathelement location="../test/cpload/test2.jar"/>
  +      </classpath>
  +    </java>
     </target>
   
     <!-- =================================================================== -->
  
  
  

Reply via email to