velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime/resource/loader JarResourceLoader.java
Date Mon, 05 Mar 2001 02:50:01 GMT
daveb       01/03/04 18:50:01

  Modified:    src/java/org/apache/velocity/runtime/resource/loader
                        JarResourceLoader.java
  Log:
  Just some temp debugging code.
  
  Revision  Changes    Path
  1.5       +4 -2      jakarta-velocity/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java
  
  Index: JarResourceLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JarResourceLoader.java	2001/03/04 21:27:08	1.4
  +++ JarResourceLoader.java	2001/03/05 02:50:01	1.5
  @@ -84,7 +84,7 @@
    * 
    * 
    * @author <a href="mailto:daveb@miceda-data.com">Dave Bryson</a>
  - * $Revision: 1.4 $
  + * $Revision: 1.5 $
    */
   public class JarResourceLoader extends ResourceLoader
   {
  @@ -108,10 +108,11 @@
       public void init(Configuration configuration)
       {
           Vector paths = configuration.getVector("resource.path");
  +        Runtime.info("PATHS SIZE= " + paths.size() );
           
           for ( int i=0; i<paths.size(); i++ )
           {
  -            loadJar( (String)paths.elementAt(i) );
  +            loadJar( (String)paths.get(i) );
           }
           
           Runtime.info("JarResourceLoader initialized...");
  @@ -119,6 +120,7 @@
       
       private void loadJar( String path )
       {
  +        Runtime.info("Try to load: " + path);
           // Check path information
           if ( path == null )
           {
  
  
  

Mime
View raw message