dims        01/07/06 06:59:43

  Modified:    src/org/apache/cocoon/components/pipeline
                        CachingEventPipeline.java
               src/org/apache/cocoon/sitemap Manager.java
               src/org/apache/cocoon/transformation LDAPTransformer.java
  Log:
  Fix compilation errors.
  
  Revision  Changes    Path
  1.13      +2 -2      
xml-cocoon2/src/org/apache/cocoon/components/pipeline/CachingEventPipeline.java
  
  Index: CachingEventPipeline.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/pipeline/CachingEventPipeline.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- CachingEventPipeline.java 2001/06/22 02:30:41     1.12
  +++ CachingEventPipeline.java 2001/07/06 13:59:29     1.13
  @@ -52,9 +52,9 @@
    * does not cache! (If it would cache, the response would be cached twice!)
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.12 $ $Date: 2001/06/22 02:30:41 $
  + * @version CVS $Revision: 1.13 $ $Date: 2001/07/06 13:59:29 $
    */
  -public final class CachingEventPipeline
  +public class CachingEventPipeline
   extends AbstractEventPipeline
   implements Disposable, CacheableEventPipeline, Recyclable {
   
  
  
  
  1.6       +3 -2      xml-cocoon2/src/org/apache/cocoon/sitemap/Manager.java
  
  Index: Manager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/sitemap/Manager.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Manager.java      2001/07/04 10:13:39     1.5
  +++ Manager.java      2001/07/06 13:59:36     1.6
  @@ -33,7 +33,7 @@
    * checking regeneration of the sub <code>Sitemap</code>
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Giacomo Pati</a>
  - * @version CVS $Revision: 1.5 $ $Date: 2001/07/04 10:13:39 $
  + * @version CVS $Revision: 1.6 $ $Date: 2001/07/06 13:59:36 $
    */
   public class Manager extends AbstractLoggable implements Component, Configurable, 
Composable, Contextualizable, ThreadSafe {
       private Context context;
  @@ -174,7 +174,8 @@
           String source) throws Exception {
               environment.changeContext(uri_prefix, source);
               if (!sitemapHandler.available()) {
  -                throw new ProcessingException("The sitemap handler's sitemap is not 
available.",
  +                throw new ProcessingException("The sitemap handler's sitemap is not 
available. " +
  +                    "Please check cocoon.log for the exact error.",
                       sitemapHandler.getException());
               }
       }
  
  
  
  1.3       +3 -3      
xml-cocoon2/src/org/apache/cocoon/transformation/LDAPTransformer.java
  
  Index: LDAPTransformer.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/transformation/LDAPTransformer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LDAPTransformer.java      2001/06/19 07:41:56     1.2
  +++ LDAPTransformer.java      2001/07/06 13:59:40     1.3
  @@ -1213,7 +1213,7 @@
                try {
                connect();
                switch (toDo) {
  -             case transformer.STATE_INSIDE_EXECUTE_QUERY:
  +             case LDAPTransformer.STATE_INSIDE_EXECUTE_QUERY:
                        try {
                                if (scope.equals("OBJECT_SCOPE")) {
                                        
constraints.setSearchScope(SearchControls.OBJECT_SCOPE);
  @@ -1252,7 +1252,7 @@
                                                        String attrVal = 
(String)vals.nextElement();
                                                        if (query_index > 0) {
                                                                switch 
(transformer.getQuery(query_index-1).current_state) {
  -                                                                     case 
transformer.STATE_INSIDE_FILTER_ELEMENT:
  +                                                                     case 
LDAPTransformer.STATE_INSIDE_FILTER_ELEMENT:
                                                                                if 
(!transformer.getQuery(query_index-1).filter.equals("")) {
                                                                                       
 transformer.getQuery(query_index-1).filter.concat(", ");
                                                                                }
  @@ -1287,7 +1287,7 @@
                            }
                        }
                                break;
  -             case transformer.STATE_INSIDE_EXECUTE_INCREMENT:
  +             case LDAPTransformer.STATE_INSIDE_EXECUTE_INCREMENT:
                        try {
                                if (scope.equals("OBJECT_SCOPE")) {
                                        
constraints.setSearchScope(SearchControls.OBJECT_SCOPE);
  
  
  

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