You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2002/09/04 12:20:25 UTC

cvs commit: xml-cocoon2/src/webapp/samples/portal sitemap.xmap

cziegeler    2002/09/04 03:20:24

  Modified:    src/java/org/apache/cocoon/components/store
                        JispFilesystemStore.java
               src/webapp/samples/portal sitemap.xmap
  Log:
  JispStore throws now an exception if the keys() method is called because it's an important method which is not implemented - turned off the cache in the portal because of this...
  
  Revision  Changes    Path
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/store/JispFilesystemStore.java
  
  Index: JispFilesystemStore.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/store/JispFilesystemStore.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JispFilesystemStore.java	15 Aug 2002 14:17:59 -0000	1.5
  +++ JispFilesystemStore.java	4 Sep 2002 10:20:24 -0000	1.6
  @@ -401,7 +401,7 @@
        */
       public Enumeration keys() {
           // TODO: Implementation
  -        return new Vector(0).elements();
  +        throw new RuntimeException("JispFilesystemStore does not implement method keys().");
       }
   
       public int size() {
  
  
  
  1.5       +3 -1      xml-cocoon2/src/webapp/samples/portal/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/portal/sitemap.xmap,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- sitemap.xmap	25 Jun 2002 08:52:58 -0000	1.4
  +++ sitemap.xmap	4 Sep 2002 10:20:24 -0000	1.5
  @@ -35,7 +35,9 @@
   				<configuration name="portal">
   					<auth-redirect>sunspotdemo-portal</auth-redirect>
   					<portal-uri>sunspotdemo-portal</portal-uri>
  -					<profile-cache>true</profile-cache>
  +                              <!-- The Jisp Store does not implement the keys() method, so
  +                                   currently we can't turn on the cache ! -->
  +					<profile-cache>false</profile-cache>
   					<process-coplets-parallel>false</process-coplets-parallel>
   					<default-coplet-timeout>10000</default-coplet-timeout> <!-- milliseconds -->
   					<profile>
  
  
  

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