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...@locus.apache.org on 2000/12/19 06:33:48 UTC

cvs commit: jakarta-velocity/src/java/org/apache/velocity/test/defaults velocity.properties

jvanzyl     00/12/18 21:33:48

  Modified:    src/java/org/apache/velocity/test VelocityTestSuite.java
               src/java/org/apache/velocity/test/defaults
                        velocity.properties
  Log:
  - Changed the test properties to match what the resource manager
    is looking for. We can probably get rid of this properties
    file now.
  
  Revision  Changes    Path
  1.10      +2 -1      jakarta-velocity/src/java/org/apache/velocity/test/VelocityTestSuite.java
  
  Index: VelocityTestSuite.java
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/VelocityTestSuite.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- VelocityTestSuite.java	2000/12/04 01:19:09	1.9
  +++ VelocityTestSuite.java	2000/12/19 05:33:47	1.10
  @@ -72,7 +72,7 @@
    * @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a>
    * @author <a href="mailto:jvanzyl@periapt.com">Jason van Zyl</a>
    * @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
  - * @version $Id: VelocityTestSuite.java,v 1.9 2000/12/04 01:19:09 geirm Exp $
  + * @version $Id: VelocityTestSuite.java,v 1.10 2000/12/19 05:33:47 jvanzyl Exp $
    */
   public class VelocityTestSuite extends TestSuite
   {
  @@ -105,6 +105,7 @@
           catch (Exception e)
           {
               System.err.println("Cannot setup VelocityTestSuite!");
  +            e.printStackTrace();
               System.exit(1);
           }            
   
  
  
  
  1.4       +6 -12     jakarta-velocity/src/java/org/apache/velocity/test/defaults/velocity.properties
  
  Index: velocity.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/defaults/velocity.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- velocity.properties	2000/11/26 18:33:40	1.3
  +++ velocity.properties	2000/12/19 05:33:47	1.4
  @@ -66,18 +66,12 @@
   # 
   #----------------------------------------------------------------------------
   
  -template.loader.1.public.name = File
  -template.loader.1.description = Velocity File Template Loader
  -template.loader.1.class = org.apache.velocity.runtime.loader.FileTemplateLoader
  -template.loader.1.template.path = ../test/templates
  -template.loader.1.cache = false
  -template.loader.1.modificationCheckInterval = 2
  -
  -#template.loader.1.public.name = URL
  -#template.loader.2.description = Velocity URL Template Loader
  -#template.loader.2.class = org.apache.velocity.runtime.loader.URLTemplateLoader
  -#template.loader.2.template.path = http://localhost/templates/
  -#template.loader.2.cache = false
  +resource.loader.1.public.name = File
  +resource.loader.1.description = Velocity File Resource Loader
  +resource.loader.1.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
  +resource.loader.1.resource.path = ../test/templates
  +resource.loader.1.cache = false
  +resource.loader.1.modificationCheckInterval = 2
   
   #----------------------------------------------------------------------------
   # E X T E R N A L  S E R V I C E  I N I T I A L I Z A T I O N