lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting BitfluxAction.java
Date Fri, 30 May 2003 09:24:07 GMT
egli        2003/05/30 02:24:07

  Modified:    src/java/org/apache/lenya/cms/cocoon/acting
                        BitfluxAction.java
  Log:
  Replace deprecated usage of
  org.apache.cocoon.environment.Source by
  org.apache.excalibur.source.Source
  
  Revision  Changes    Path
  1.14      +4 -4      cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/BitfluxAction.java
  
  Index: BitfluxAction.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/BitfluxAction.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- BitfluxAction.java	30 Apr 2003 16:06:00 -0000	1.13
  +++ BitfluxAction.java	30 May 2003 09:24:07 -0000	1.14
  @@ -52,6 +52,7 @@
   
   import org.apache.cocoon.ProcessingException;
   import org.apache.cocoon.acting.ConfigurableComposerAction;
  +import org.apache.excalibur.source.Source;
   import org.apache.excalibur.xml.dom.DOMParser;
   import org.apache.cocoon.environment.ObjectModelHelper;
   import org.apache.cocoon.environment.Redirector;
  @@ -77,7 +78,6 @@
   import java.io.IOException;
   import java.io.OutputStream;
   
  -import java.lang.String;
   
   import java.util.HashMap;
   import java.util.Map;
  @@ -154,8 +154,8 @@
           }
   
           // Get absolute path of sitemap directory
  -        org.apache.cocoon.environment.Source input_source = resolver.resolve("");
  -        String sitemapPath = input_source.getSystemId();
  +        Source input_source = resolver.resolveURI("");
  +        String sitemapPath = input_source.getURI();
           sitemapPath = sitemapPath.substring(5); // Remove "file:" protocol
           getLogger().debug("Absolute SITEMAP Directory: " + sitemapPath);
           getLogger().debug("Absolute XML Root Directory: " + sitemapPath + xmlRoot);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message