cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/generator ProgramGeneratorImpl.java
Date Sun, 14 Apr 2002 03:42:51 GMT
vgritsenko    02/04/13 20:42:51

  Modified:    src/java/org/apache/cocoon/components/language/generator
                        Tag: cocoon_2_0_3_branch ProgramGeneratorImpl.java
  Log:
  Revert some changes: Create handler with supplied manager (reason: compiled sitemap engine
requires
  newManager in order to have access to parent sitemap components)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.15.2.1  +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/language/generator/ProgramGeneratorImpl.java
  
  Index: ProgramGeneratorImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/generator/ProgramGeneratorImpl.java,v
  retrieving revision 1.15
  retrieving revision 1.15.2.1
  diff -u -r1.15 -r1.15.2.1
  --- ProgramGeneratorImpl.java	7 Apr 2002 18:48:12 -0000	1.15
  +++ ProgramGeneratorImpl.java	14 Apr 2002 03:42:51 -0000	1.15.2.1
  @@ -86,7 +86,7 @@
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
    * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  - * @version CVS $Id: ProgramGeneratorImpl.java,v 1.15 2002/04/07 18:48:12 sylvain Exp $
  + * @version CVS $Id: ProgramGeneratorImpl.java,v 1.15.2.1 2002/04/14 03:42:51 vgritsenko
Exp $
    */
   public class ProgramGeneratorImpl extends AbstractLoggable
       implements ProgramGenerator, Contextualizable, Composable, Parameterizable,
  @@ -246,7 +246,7 @@
                       program = programmingLanguage.preload(normalizedName,
                               this.workDir, markupLanguage.getEncoding());
   
  -                    this.cache.addGenerator(this.manager, normalizedName, program);
  +                    this.cache.addGenerator(newManager, normalizedName, program);
                       programInstance = (CompiledComponent)this.cache.select(normalizedName);
                   } catch (Exception e) {
                       getLogger().debug("The program was not preloaded");
  @@ -289,7 +289,7 @@
                       markupLanguage =
                               (MarkupLanguage)this.markupSelector.select(markupLanguageName);
                   }
  -                programInstance = this.createResource(this.manager,
  +                programInstance = this.createResource(newManager,
                           source, normalizedName, markupLanguage,
                           programmingLanguage, resolver);
               }
  
  
  

----------------------------------------------------------------------
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


Mime
View raw message