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/merlin/src/java/org/apache/avalon/merlin/kernel/impl DefaultKernel.java
Date Wed, 19 Feb 2003 11:18:55 GMT
mcconnell    2003/02/19 03:18:54

  Modified:    merlin/src/java/org/apache/avalon/merlin/kernel/impl
                        DefaultKernel.java
  Log:
  Adding explicit listing of the appliances declared within the root block heirachy.
  
  Revision  Changes    Path
  1.11      +14 -1     avalon-sandbox/merlin/src/java/org/apache/avalon/merlin/kernel/impl/DefaultKernel.java
  
  Index: DefaultKernel.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/src/java/org/apache/avalon/merlin/kernel/impl/DefaultKernel.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultKernel.java	17 Feb 2003 12:13:50 -0000	1.10
  +++ DefaultKernel.java	19 Feb 2003 11:18:54 -0000	1.11
  @@ -471,6 +471,19 @@
               }
               throw new KernelException( error, e );
           }
  +
  +        if( getLogger().isDebugEnabled() )
  +        {
  +            StringBuffer buffer = new StringBuffer( "listing declared hierachy\n" );
  +            // list the block URLs
  +            URL[] urls = m_block.getURLs();
  +            for( int i=0; i<urls.length; i++ )
  +            {
  +                buffer.append( "\n  " + urls[i].toString() );
  +            }
  +            buffer.append( "\n" );
  +            getLogger().debug( buffer.toString() );
  +        }
       }
   
       //==============================================================
  
  
  

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


Mime
View raw message