bloritsch    00/11/13 10:16:12

  Modified:    src/org/apache/cocoon/components/language/markup/xsp/java
                        Tag: xml-cocoon2 xsp.xsl
  Log:
  Added logicsheet for log file generation.  Needs some help, but it is in 
place.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.10  +6 -2      
xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/java/Attic/xsp.xsl
  
  Index: xsp.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/java/Attic/xsp.xsl,v
  retrieving revision 1.1.2.9
  retrieving revision 1.1.2.10
  diff -u -r1.1.2.9 -r1.1.2.10
  --- xsp.xsl   2000/11/11 13:11:53     1.1.2.9
  +++ xsp.xsl   2000/11/13 18:15:56     1.1.2.10
  @@ -6,12 +6,12 @@
    * This software is published under the terms of the Apache Software License 
*
    * version 1.1, a copy of which has been included  with this distribution in 
*
    * the LICENSE file.                                                         
*
  - 
***************************************************************************** 
  + 
*****************************************************************************
   -->
   
   <!--
    * @author <a href="mailto:[EMAIL PROTECTED]>Ricardo Rocha</a>
  - * @version CVS $Revision: 1.1.2.9 $ $Date: 2000/11/11 13:11:53 $
  + * @version CVS $Revision: 1.1.2.10 $ $Date: 2000/11/13 18:15:56 $
   -->
   
   <!-- XSP Core logicsheet for the Java language -->
  @@ -44,6 +44,7 @@
   
       import org.apache.avalon.*;
       import org.apache.avalon.utils.*;
  +    import org.apache.log.*;
       import org.apache.cocoon.*;
       import org.apache.cocoon.generation.*;
       import org.apache.cocoon.components.parser.*;
  @@ -62,6 +63,9 @@
        * Generated by XSP. Edit at your own risk, :-)
        */
       public class <xsl:value-of select="@file-name"/> extends XSPGenerator {
  +      Logger log = null;
  +      Logger cocoonLogger = LogKit.getLoggerFor("cocoon");
  +
         static {
           dateCreated = <xsl:value-of select="@creation-date"/>L;
           dependencies = new File[] {
  
  
  

Reply via email to