cziegeler    2002/11/20 01:57:22

  Modified:    src/java/org/apache/cocoon/components/source/impl
                        SitemapSource.java
               src/java/org/apache/cocoon/components
                        CocoonComponentManager.java
  Log:
  Correcting wrong commit....
  
  Revision  Changes    Path
  1.23      +1 -2      
xml-cocoon2/src/java/org/apache/cocoon/components/source/impl/SitemapSource.java
  
  Index: SitemapSource.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/impl/SitemapSource.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- SitemapSource.java        20 Nov 2002 09:19:16 -0000      1.22
  +++ SitemapSource.java        20 Nov 2002 09:57:21 -0000      1.23
  @@ -396,7 +396,6 @@
               // Preserve original exception
               throw e;
           } catch (Exception e) {
  -            e.printStackTrace();
               throw new SAXException("Exception during processing of "
                                             + this.systemId, e);
           } finally {
  
  
  
  1.38      +18 -3     
xml-cocoon2/src/java/org/apache/cocoon/components/CocoonComponentManager.java
  
  Index: CocoonComponentManager.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/CocoonComponentManager.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- CocoonComponentManager.java       20 Nov 2002 09:19:16 -0000      1.37
  +++ CocoonComponentManager.java       20 Nov 2002 09:57:22 -0000      1.38
  @@ -87,6 +87,7 @@
   extends ExcaliburComponentManager
   implements SourceResolver
   {
  + 
       /** The key used to store the current process environment */
       private static final String PROCESS_KEY =
                  "org.apache.cocoon.components.CocoonComponentManager";
  @@ -418,7 +419,7 @@
       Map         objectModel;
       Map         requestLifecycleComponents = new HashMap(5);
       List        autoreleaseComponents      = new ArrayList(2);
  -    
  +    List        sitemapConfigurations      = new ArrayList(4);    
       /**
        * Constructor
        */
  @@ -523,5 +524,19 @@
               throw new ProcessingException("Unable to remove component from 
automatic release: component not found.");
           }
       }
  -            
  +    
  +          
  +    void addSitemapConfiguration(Configuration conf) {
  +        if (conf != null) {
  +            this.sitemapConfigurations.add(conf);
  +        }
  +    }
  +      
  +    List getSitemapConfigurations() {
  +        return this.sitemapConfigurations;
  +    }
  + 
  +    void removeLastSitemapConfiguration() {
  +        this.sitemapConfigurations.remove(this.sitemapConfigurations.size()-1);
  +    }               
   }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to