reinhard | 2 Apr 2007 08:55
Picon
Favicon

svn commit: r524734 - in /cocoon/trunk/commons/bylaws: ./ bylaws.txt

Author: reinhard
Date: Sun Apr  1 23:55:50 2007
New Revision: 524734

URL: http://svn.apache.org/viewvc?view=rev&rev=524734
Log:
some ideas what should go into more specific Bylaws than we have today

Added:
    cocoon/trunk/commons/bylaws/
    cocoon/trunk/commons/bylaws/bylaws.txt   (with props)

Added: cocoon/trunk/commons/bylaws/bylaws.txt
URL: http://svn.apache.org/viewvc/cocoon/trunk/commons/bylaws/bylaws.txt?view=auto&rev=524734
==============================================================================
--- cocoon/trunk/commons/bylaws/bylaws.txt (added)
+++ cocoon/trunk/commons/bylaws/bylaws.txt Sun Apr  1 23:55:50 2007
 <at>  <at>  -0,0 +1,64  <at>  <at> 
+(Note: This is a summary of ideas about what could/should be part of our bylaws some time in the future. 
+Of course a vote is required to make them official.)
+
+BYLAWS
+********************************************************************************
+
+MISSION
+ - XML pipelines (narrow sense)
+ - web application framework (broader sense)
+
+ROLES AND RESPONSIBILITIES
+ - see http://www.apache.org/foundation/how-it-works.html
(Continue reading)

reinhard | 2 Apr 2007 21:27
Picon
Favicon

svn commit: r524892 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachedSourceResponse.java

Author: reinhard
Date: Mon Apr  2 12:27:01 2007
New Revision: 524892

URL: http://svn.apache.org/viewvc?view=rev&rev=524892
Log:
move CachingSource to core
(only one class to check if revision history is preserved)

Added:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachedSourceResponse.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/CachedSourceResponse.java

reinhard | 2 Apr 2007 21:29
Picon
Favicon

svn commit: r524896 - in /cocoon/trunk/core/cocoon-core/src: main/java/org/apache/cocoon/components/source/ main/java/org/apache/cocoon/components/source/helpers/ main/java/org/apache/cocoon/components/source/impl/ test/java/org/apache/cocoon/component...

Author: reinhard
Date: Mon Apr  2 12:29:27 2007
New Revision: 524896

URL: http://svn.apache.org/viewvc?view=rev&rev=524896
Log:
move CachingSource to core

Added:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/InspectableSource.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/InspectableSource.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/helpers/DelaySourceRefresher.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/helpers/DelaySourceRefresher.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/helpers/SourceProperty.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/helpers/SourceProperty.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/helpers/SourceRefresher.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/helpers/SourceRefresher.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSource.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/CachingSource.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
      - copied, changed from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceValidityStrategy.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceValidityStrategy.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/ExpiresCachingSourceValidityStrategy.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/ExpiresCachingSourceValidityStrategy.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/InspectableTraversableCachingSource.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableTraversableCachingSource.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/TraversableCachingSource.java
      - copied unchanged from r524887, cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/TraversableCachingSource.java
    cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java
(Continue reading)

reinhard | 2 Apr 2007 21:30
Picon
Favicon

svn commit: r524898 - in /cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src: main/java/org/apache/cocoon/components/source/ main/java/org/apache/cocoon/components/source/helpers/ main/java/org/apache/cocoon/components/source/impl/ test/r...

Author: reinhard
Date: Mon Apr  2 12:30:44 2007
New Revision: 524898

URL: http://svn.apache.org/viewvc?view=rev&rev=524898
Log:
move CachingSource to core

Removed:
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/InspectableSource.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/helpers/DelaySourceRefresher.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/helpers/SourceProperty.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/helpers/SourceRefresher.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/CachedSourceResponse.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/CachingSource.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceValidityStrategy.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/ExpiresCachingSourceValidityStrategy.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableTraversableCachingSource.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/TraversableCachingSource.java
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/test/resources/org/apache/cocoon/components/source/impl/CachingSourceTestCase.spring.xml
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/test/resources/org/apache/cocoon/components/source/impl/CachingSourceTestCase.xtest
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/test/resources/org/apache/cocoon/components/source/impl/cachingsourcetest.xml

reinhard | 2 Apr 2007 21:35
Picon
Favicon

svn commit: r524900 - in /cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/test: java/org/ resources/org/

Author: reinhard
Date: Mon Apr  2 12:35:10 2007
New Revision: 524900

URL: http://svn.apache.org/viewvc?view=rev&rev=524900
Log:
move CachingSource to core

Removed:
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/test/java/org/
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/test/resources/org/


reinhard | 3 Apr 2007 10:10
Picon
Favicon

svn commit: r525076 - in /cocoon/trunk/core/cocoon-core/src: main/java/org/apache/cocoon/components/source/ main/java/org/apache/cocoon/components/source/helpers/ main/java/org/apache/cocoon/components/source/impl/ main/resources/META-INF/cocoon/spring...

Author: reinhard
Date: Tue Apr  3 01:10:48 2007
New Revision: 525076

URL: http://svn.apache.org/viewvc?view=rev&rev=525076
Log:
- Avalon->Spring
- provide an abstract bean definition that can be used by any custom bean definition of caching sources
- move dependency on InspectableSource to repository-impl (where it was before but as I refactored 
  incrementally, it was easier to move things around)

- all unit tests pass but the coverage of the refresher goes to 0 so I'm not sure if
  everything still works as expected

- the refresher is setup via Spring too. This has the disadvantage that an
  "inline configuration" (-> within the bean definition) can't be provided anymore

- javadocs still need to reflect my latest changes

Added:

cocoon/trunk/core/cocoon-core/src/main/resources/META-INF/cocoon/spring/cocoon-core-caching-source.xml
  (with props)
Removed:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/InspectableSource.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/InspectableTraversableCachingSource.java
Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/helpers/DelaySourceRefresher.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
    cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java
(Continue reading)

reinhard | 3 Apr 2007 10:11
Picon
Favicon

svn commit: r525077 - in /cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source: InspectableSource.java impl/InspectableAwareCachingSourceFactory.java impl/InspectableTraversableCachingSource.java

Author: reinhard
Date: Tue Apr  3 01:11:27 2007
New Revision: 525077

URL: http://svn.apache.org/viewvc?view=rev&rev=525077
Log:
- Avalon->Spring
- provide an abstract bean definition that can be used by any custom bean definition of caching sources
- move dependency on InspectableSource to repository-impl (where it was before but as I refactored 
  incrementally, it was easier to move things around)

- all unit tests pass but the coverage of the refresher goes to 0 so I'm not sure if
  everything still works as expected

- the refresher is setup via Spring too. This has the disadvantage that an
  "inline configuration" (-> within the bean definition) can't be provided anymore

- javadocs still need to reflect my latest changes

Added:
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/InspectableSource.java
      - copied unchanged from r524896, cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/InspectableSource.java

cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableAwareCachingSourceFactory.java
  (with props)
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableTraversableCachingSource.java
      - copied unchanged from r524896, cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/InspectableTraversableCachingSource.java

Added: cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableAwareCachingSourceFactory.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableAwareCachingSourceFactory.java?view=auto&rev=525077
(Continue reading)

reinhard | 3 Apr 2007 10:32
Picon
Favicon

svn commit: r525083 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java

Author: reinhard
Date: Tue Apr  3 01:32:12 2007
New Revision: 525083

URL: http://svn.apache.org/viewvc?view=rev&rev=525083
Log:
javadocs

Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java?view=diff&rev=525083&r1=525082&r2=525083
==============================================================================
---
cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java (original)
+++
cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
Tue Apr  3 01:32:12 2007
 <at>  <at>  -73,46 +73,31  <at>  <at> 
  * or { <at> link org.apache.cocoon.components.source.impl.TraversableCachingSource}
  * depending on the whether the wrapped Source is an instance of TraversableSource.
  * </p>
- *
- * <h2>Parameters</h2>
- * <table><tbody>
- * <tr>
- *  <th>cache-role (String)</th>
- *  <td>Role of component used as cache.</td>
- *  <td>opt</td>
(Continue reading)

reinhard | 3 Apr 2007 10:32
Picon
Favicon

svn commit: r525084 - /cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableAwareCachingSourceFactory.java

Author: reinhard
Date: Tue Apr  3 01:32:30 2007
New Revision: 525084

URL: http://svn.apache.org/viewvc?view=rev&rev=525084
Log:
javadocs

Modified:
    cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableAwareCachingSourceFactory.java

Modified: cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableAwareCachingSourceFactory.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableAwareCachingSourceFactory.java?view=diff&rev=525084&r1=525083&r2=525084
==============================================================================
---
cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableAwareCachingSourceFactory.java (original)
+++
cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/main/java/org/apache/cocoon/components/source/impl/InspectableAwareCachingSourceFactory.java
Tue Apr  3 01:32:30 2007
 <at>  <at>  -20,6 +20,9  <at>  <at> 
 import org.apache.excalibur.source.Source;

 /**
+ * The InspectableAwareCachingSourceFactory inherits from { <at> link CachingSourceFactory} and only
+ * adds support for wrapped sources of type { <at> link InspectableSource}.
+ * 
  *  <at> version $Id$
  */
 public class InspectableAwareCachingSourceFactory extends CachingSourceFactory {

(Continue reading)

reinhard | 3 Apr 2007 10:36
Picon
Favicon

svn commit: r525086 - in /cocoon/trunk/core/cocoon-core/src: main/java/org/apache/cocoon/components/source/impl/ main/resources/META-INF/cocoon/spring/ test/java/org/apache/cocoon/components/source/impl/

Author: reinhard
Date: Tue Apr  3 01:36:09 2007
New Revision: 525086

URL: http://svn.apache.org/viewvc?view=rev&rev=525086
Log:
align Spring config with documentation (caching -> cached)

Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
    cocoon/trunk/core/cocoon-core/src/main/resources/META-INF/cocoon/spring/cocoon-core-caching-source.xml
    cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java?view=diff&rev=525086&r1=525085&r2=525086
==============================================================================
---
cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java (original)
+++
cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
Tue Apr  3 01:36:09 2007
 <at>  <at>  -83,7 +83,7  <at>  <at> 
  * <code>org.apache.excalibur.source.SourceFactory/caching::abstract</code>:
  * <br>
  * <code>
- *   &lt;bean name=&quot;org.apache.excalibur.source.SourceFactory/caching::abstract&quot;
+ *   &lt;bean name=&quot;org.apache.excalibur.source.SourceFactory/cached::abstract&quot;
  *     class=&quot;org.apache.cocoon.components.source.impl.CachingSourceFactory&quot;
  *     abstract=&quot;true&quot;&gt;
  *     &lt;property name=&quot;cache&quot; ref=&quot;org.apache.cocoon.caching.Cache&quot;/&gt;
(Continue reading)


Gmane