geirm       00/12/19 04:02:26

  Modified:    src/java/org/apache/velocity/test InlineScopeVMTestCase.java
  Log:
  Changed to support the new resource loader system.
  
  Revision  Changes    Path
  1.3       +2 -4      
jakarta-velocity/src/java/org/apache/velocity/test/InlineScopeVMTestCase.java
  
  Index: InlineScopeVMTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/InlineScopeVMTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- InlineScopeVMTestCase.java        2000/12/10 19:39:06     1.2
  +++ InlineScopeVMTestCase.java        2000/12/19 12:02:25     1.3
  @@ -72,7 +72,7 @@
    * Tests if the VM template-locality is working.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a>
  - * @version $Id: InlineScopeVMTestCase.java,v 1.2 2000/12/10 19:39:06 geirm Exp $
  + * @version $Id: InlineScopeVMTestCase.java,v 1.3 2000/12/19 12:02:25 geirm Exp $
    */
    
   public class InlineScopeVMTestCase extends TestCase
  @@ -117,9 +117,7 @@
               p.setProperty( RuntimeConstants.VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL, 
"true");
               p.setProperty( RuntimeConstants.VM_PERM_INLINE_LOCAL, "true");
   
  -            /* this is a bad hack :) I really don't know that it's loader.1... */
  -
  -            p.setProperty( "template.loader.1.template.path"  , 
"../test/templates");
  +            p.setProperty( "resource.loader.1.resource.path"  , 
"../test/templates");
               Runtime.init(p);    
           }
           catch (Exception e)
  
  
  

Reply via email to