avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine EngineClassLoader.java
Date Wed, 08 Jan 2003 21:01:21 GMT
mcconnell    2003/01/08 13:01:21

  Modified:    assembly/src/java/org/apache/avalon/assembly/engine
                        EngineClassLoader.java
  Log:
  Improved debug entries when loading a classpath descriptor.
  
  Revision  Changes    Path
  1.20      +10 -1     avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/EngineClassLoader.java
  
  Index: EngineClassLoader.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/EngineClassLoader.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- EngineClassLoader.java	8 Jan 2003 20:42:22 -0000	1.19
  +++ EngineClassLoader.java	8 Jan 2003 21:01:21 -0000	1.20
  @@ -699,6 +699,11 @@
   
           List list = new ArrayList();
           FilesetDescriptor[] dirs = classpath.getFilesetDescriptors();
  +        if( getLogger().isDebugEnabled() )
  +        {
  +           getLogger().debug( "classpath contains " + dirs.length + " fileset entries");
  +        }
  +        
           for( int i = 0; i < dirs.length; i++ )
           {
               FilesetDescriptor descriptor = dirs[ i ];
  @@ -723,6 +728,10 @@
               }
   
               IncludeDescriptor[] includes = descriptor.getIncludeDescriptors();
  +            if( getLogger().isDebugEnabled() )
  +            {
  +               getLogger().debug( "fileset contains " + includes.length + " iinclude entries");
  +            }
               for( int j = 0; j < includes.length; j++ )
               {
                   String inc = includes[ j ].getFile();
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message