jon         00/11/07 18:59:16

  Modified:    src/java/org/apache/velocity/runtime Runtime.java
  Log:
  added logging of which properties file is being used
  
  Revision  Changes    Path
  1.36      +3 -1      
jakarta-velocity/src/java/org/apache/velocity/runtime/Runtime.java
  
  Index: Runtime.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/Runtime.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- Runtime.java      2000/11/07 23:09:45     1.35
  +++ Runtime.java      2000/11/08 02:59:15     1.36
  @@ -145,7 +145,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Jeff Bowden</a>
  - * @version $Id: Runtime.java,v 1.35 2000/11/07 23:09:45 jon Exp $
  + * @version $Id: Runtime.java,v 1.36 2000/11/08 02:59:15 jon Exp $
    */
   public class Runtime
   {
  @@ -241,6 +241,7 @@
               InputStream inputStream = classLoader.getResourceAsStream(
                   DEFAULT_RUNTIME_PROPERTIES);
               VelocityResources.setPropertiesInputStream( inputStream );
  +            info ("Default Properties File: " + new 
File(DEFAULT_RUNTIME_PROPERTIES).getAbsolutePath());
           }
           catch (IOException ioe)
           {
  @@ -265,6 +266,7 @@
           try
           {
               VelocityResources.setPropertiesFileName( propertiesFileName );
  +            info ("Properties File: " + new 
File(propertiesFileName).getAbsolutePath());
           }
           catch(Exception ex) 
           {
  
  
  

Reply via email to