You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jv...@apache.org on 2001/03/04 01:42:37 UTC

cvs commit: jakarta-velocity/build build-velocity.xml

jvanzyl     01/03/03 16:42:37

  Modified:    build    build-velocity.xml
  Log:
  - adding target for the multi path file resource loader.
  
  Revision  Changes    Path
  1.35      +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.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- build-velocity.xml	2001/02/27 05:48:07	1.34
  +++ build-velocity.xml	2001/03/04 00:42:36	1.35
  @@ -67,6 +67,11 @@
     />
   
     <property 
  +    name="multi.file.resource.path.test"
  +    value="org.apache.velocity.test.MultipleFileResourcePathTest"
  +  />
  +
  +  <property 
       name="runtime.defaults.dir" 
       value="org/apache/velocity/runtime/defaults"
     />
  @@ -598,6 +603,20 @@
   
       <java classname="${velocity.test.runner}">
         <arg value="${inlinevmscope.test}"/>
  +      <classpath>
  +        <pathelement path="${classpath}"/>
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${build.dest}"/>
  +      </classpath>
  +    </java>
  +
  +  </target>
  +
  +  <target name="test-multi">
  +
  +    <echo message="Running JUnit MultipleFileResourcePathTest ..."/>
  +      <java classname="${velocity.test.runner}">
  +      <arg value="${multi.file.resource.path.test}"/>
         <classpath>
           <pathelement path="${classpath}"/>
           <pathelement location="${junit.jar}"/>