You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by sy...@apache.org on 2003/04/04 19:14:34 UTC

cvs commit: cocoon-2.1/src/webapp/WEB-INF cocoon.xconf

sylvain     2003/04/04 09:14:33

  Modified:    lib      jars.xml
               src/blocks/slide/java/org/apache/cocoon/components/source/impl
                        SlideSource.java
               src/webapp/WEB-INF cocoon.xconf
  Added:       lib/core excalibur-sourceresolve-20030404.jar
  Removed:     lib/core excalibur-sourceresolve-20030319.jar
               src/java/org/apache/cocoon/components/source/impl
                        FileSource.java FileSourceFactory.java
  Log:
  update to latests sourceresolve
  
  Revision  Changes    Path
  1.25      +2 -2      cocoon-2.1/lib/jars.xml
  
  Index: jars.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/lib/jars.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- jars.xml	3 Apr 2003 13:34:54 -0000	1.24
  +++ jars.xml	4 Apr 2003 17:14:32 -0000	1.25
  @@ -208,7 +208,7 @@
      support high level server development.
     </description>
     <used-by>Cocoon</used-by>
  -  <lib>core/excalibur-sourceresolve-20030319.jar</lib>
  +  <lib>core/excalibur-sourceresolve-20030404.jar</lib>
     <homepage>http://avalon.apache.org/excalibur/</homepage>
    </file>
   
  
  
  
  1.1                  cocoon-2.1/lib/core/excalibur-sourceresolve-20030404.jar
  
  	<<Binary file>>
  
  
  1.5       +3 -3      cocoon-2.1/src/blocks/slide/java/org/apache/cocoon/components/source/impl/SlideSource.java
  
  Index: SlideSource.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/slide/java/org/apache/cocoon/components/source/impl/SlideSource.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SlideSource.java	24 Mar 2003 14:33:54 -0000	1.4
  +++ SlideSource.java	4 Apr 2003 17:14:33 -0000	1.5
  @@ -605,7 +605,7 @@
        * @throws SourceException If an exception occurs during
        *                         the move.
        */
  -    public void move(Source source) throws SourceException {
  +    public void moveTo(Source source) throws SourceException {
           if (source instanceof SlideSource) {
               try {
                   nat.begin();
  @@ -635,7 +635,7 @@
        * @throws SourceException If an exception occurs during
        *                         the copy.
        */
  -    public void copy(Source source) throws SourceException {
  +    public void copyTo(Source source) throws SourceException {
           if (source instanceof SlideSource) {
               try {
                   nat.begin();
  
  
  
  1.12      +4 -2      cocoon-2.1/src/webapp/WEB-INF/cocoon.xconf
  
  Index: cocoon.xconf
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/WEB-INF/cocoon.xconf,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- cocoon.xconf	19 Mar 2003 08:19:12 -0000	1.11
  +++ cocoon.xconf	4 Apr 2003 17:14:33 -0000	1.12
  @@ -212,13 +212,15 @@
     <!--+
         | Source Factories
         |
  -      | Each source factory adds a special uri protocol to the system.
  +      | Each source factory adds a special uri schemes to the system.
         +-->
     <source-factories>
       <component-instance class="org.apache.excalibur.source.impl.ResourceSourceFactory" name="resource"/>
       <component-instance class="org.apache.cocoon.components.source.impl.ContextSourceFactory" name="context"/>
       <component-instance class="org.apache.cocoon.components.source.impl.SitemapSourceFactory" name="cocoon"/>
  -    <component-instance class="org.apache.cocoon.components.source.impl.FileSourceFactory" name="file"/>
  +    <!-- the "*" protocol handles all uri schemes that are not explicitely specified. This includes all
  +         JDK standard protocols, with special handling of the "file:" protocol which is modifiable
  +         (can be written to) and traversable (directory structures can be crawled). -->
       <component-instance class="org.apache.excalibur.source.impl.URLSourceFactory" name="*"/>
     </source-factories>
     <!--+