You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/06/27 20:52:01 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl

vgritsenko    2002/06/27 11:52:01

  Modified:    src/java/org/apache/cocoon/sitemap Tag: cocoon_2_0_3_branch
                        AbstractSitemap.java
               src/java/org/apache/cocoon/components/language/markup/sitemap/java
                        Tag: cocoon_2_0_3_branch sitemap.xsl
  Log:
  Fix one weird classloading / sitemap reloading bug
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.10.2.2  +2 -3      xml-cocoon2/src/java/org/apache/cocoon/sitemap/Attic/AbstractSitemap.java
  
  Index: AbstractSitemap.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/sitemap/Attic/AbstractSitemap.java,v
  retrieving revision 1.10.2.1
  retrieving revision 1.10.2.2
  diff -u -r1.10.2.1 -r1.10.2.2
  --- AbstractSitemap.java	19 Apr 2002 19:38:10 -0000	1.10.2.1
  +++ AbstractSitemap.java	27 Jun 2002 18:52:01 -0000	1.10.2.2
  @@ -61,7 +61,6 @@
   import org.apache.avalon.framework.context.ContextException;
   import org.apache.avalon.framework.logger.AbstractLoggable;
   import org.apache.avalon.framework.thread.ThreadSafe;
  -import org.apache.cocoon.Constants;
   import org.apache.cocoon.ProcessingException;
   import org.apache.cocoon.acting.Action;
   import org.apache.cocoon.components.CocoonComponentManager;
  @@ -110,7 +109,7 @@
       protected URLFactory urlFactory;
   
       /** The creation date */
  -    protected static long dateCreated = -1L;
  +    protected long dateCreated = -1L;
       protected DefaultSitemapComponentSelector generators;
       protected DefaultSitemapComponentSelector transformers;
       protected DefaultSitemapComponentSelector serializers;
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.4  +3 -3      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl
  
  Index: sitemap.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl,v
  retrieving revision 1.11.2.3
  retrieving revision 1.11.2.4
  diff -u -r1.11.2.3 -r1.11.2.4
  --- sitemap.xsl	17 Jun 2002 02:20:44 -0000	1.11.2.3
  +++ sitemap.xsl	27 Jun 2002 18:52:01 -0000	1.11.2.4
  @@ -222,7 +222,7 @@
       public class <xsl:value-of select="@file-name"/> extends AbstractSitemap {
         static final String LOCATION = "<xsl:value-of select="translate(@file-path, '/', '.')"/>.<xsl:value-of select="@file-name"/>";
   
  -      static {
  +      public <xsl:value-of select="@file-name"/> () {
           dateCreated = <xsl:value-of select="@creation-date"/>L;
         }
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org