cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: rev 56458 - in cocoon/whiteboard/kernel/sources: . blocks blocks/commons-dbcp extensions extensions/logging interfaces interfaces/jdbc-datasource modules modules/commons-collections modules/commons-pool
Date Wed, 03 Nov 2004 02:30:21 GMT
Author: pier
Date: Tue Nov  2 18:30:21 2004
New Revision: 56458

Added:
   cocoon/whiteboard/kernel/sources/blocks/
   cocoon/whiteboard/kernel/sources/blocks/commons-dbcp/
   cocoon/whiteboard/kernel/sources/blocks/commons-dbcp/block.xml
   cocoon/whiteboard/kernel/sources/blocks/commons-dbcp/commons-dbcp-1.2.1.jar   (contents,
props changed)
   cocoon/whiteboard/kernel/sources/configuration.xml
   cocoon/whiteboard/kernel/sources/extensions/
   cocoon/whiteboard/kernel/sources/extensions/logging/
   cocoon/whiteboard/kernel/sources/extensions/logging/block.xml
   cocoon/whiteboard/kernel/sources/extensions/logging/commons-logging-1.0.4.jar   (contents,
props changed)
   cocoon/whiteboard/kernel/sources/extensions/logging/log4j-1.2.9.jar   (contents, props
changed)
   cocoon/whiteboard/kernel/sources/interfaces/
   cocoon/whiteboard/kernel/sources/interfaces/jdbc-datasource/
   cocoon/whiteboard/kernel/sources/interfaces/jdbc-datasource/block.xml
   cocoon/whiteboard/kernel/sources/log4j.xml
   cocoon/whiteboard/kernel/sources/modules/
   cocoon/whiteboard/kernel/sources/modules/commons-collections/
   cocoon/whiteboard/kernel/sources/modules/commons-collections/block.xml
   cocoon/whiteboard/kernel/sources/modules/commons-collections/commons-collections-3.1.jar
  (contents, props changed)
   cocoon/whiteboard/kernel/sources/modules/commons-pool/
   cocoon/whiteboard/kernel/sources/modules/commons-pool/block.xml
   cocoon/whiteboard/kernel/sources/modules/commons-pool/commons-pool-1.2.jar   (contents,
props changed)
Log:
Some blocks, modules, interfaces and extensions... Plus an easy configuration file.

Added: cocoon/whiteboard/kernel/sources/blocks/commons-dbcp/block.xml
==============================================================================
--- (empty file)
+++ cocoon/whiteboard/kernel/sources/blocks/commons-dbcp/block.xml	Tue Nov  2 18:30:21 2004
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<block xmlns="http://apache.org/cocoon/blocks/descriptor/1.0"
+    id="http://cocoon.apache.org/blocks/jakarta/commons-dbcp/1.2.1">
+
+  <requirements>
+    <requires module="http://cocoon.apache.org/abstracts/jakarta/commons-pool/1.2"/>
+  </requirements>
+
+  <implementations>  
+    <implements interface="http://cocoon.apache.org/blocks/interfaces/jdbc-datasource/1.0"/>
+  </implementations>
+
+  <libraries>
+    <library href="commons-dbcp-1.2.1.jar"/>
+  </libraries>
+  
+  <provides component="org.apache.commons.dbcp.BasicDataSource"/>
+
+</block>

Added: cocoon/whiteboard/kernel/sources/blocks/commons-dbcp/commons-dbcp-1.2.1.jar
==============================================================================
Binary file. No diff available.

Added: cocoon/whiteboard/kernel/sources/configuration.xml
==============================================================================
--- (empty file)
+++ cocoon/whiteboard/kernel/sources/configuration.xml	Tue Nov  2 18:30:21 2004
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<configuration>
+
+  <!-- Kernel initial class path -->
+  <classpath>
+    <library href="../temp/eclipse/"/>
+  </classpath>
+
+  <!-- Kernel plugins -->
+  <descriptor href="extensions/logging/block.xml"/>
+
+  <!-- The interface descriptors available to this kernel -->
+  <descriptor href="interfaces/jdbc-datasource/block.xml"/>
+  
+  <!-- The abstract descriptors available to this kernel -->
+  <descriptor href="modules/commons-collections/block.xml"/>
+  <descriptor href="modules/commons-pool/block.xml"/>
+
+  <!-- The block descriptors available to this kernel -->
+  <descriptor href="blocks/commons-dbcp/block.xml"/>
+
+  <!-- Logging plugin configuration -->
+  <logging log4j="log4j.xml"/>
+
+  <!-- Configuration for all instances deployed in the kernel -->  
+  <instance name="test"  block="http://cocoon.apache.org/blocks/jakarta/commons-dbcp/1.2.1">
+    <set property="driverClassName" value="oracle.jdbc.OracleDriver"/>
+    <set property="url" value="jdbc:oracle:thin:@qbe.local:1521:vnlive"/>
+    <set property="username" value="*******"/>
+    <set property="password" value="*******"/>
+    <set property="maxActive" value="5"/>
+  </instance>
+  
+</configuration>

Added: cocoon/whiteboard/kernel/sources/extensions/logging/block.xml
==============================================================================
--- (empty file)
+++ cocoon/whiteboard/kernel/sources/extensions/logging/block.xml	Tue Nov  2 18:30:21 2004
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<extension xmlns="http://apache.org/cocoon/blocks/descriptor/1.0"
+    id="http://cocoon.apache.org/blocks/plugins/logging/1.0.0">
+
+  <plugin
+    class="org.apache.cocoon.kernel.plugins.LoggingPlugin"
+    configuration-element="logging"/>
+
+  <libraries>
+    <library href="commons-logging-1.0.4.jar"/>
+    <library href="log4j-1.2.9.jar"/>
+  </libraries>
+
+</extension>

Added: cocoon/whiteboard/kernel/sources/extensions/logging/commons-logging-1.0.4.jar
==============================================================================
Binary file. No diff available.

Added: cocoon/whiteboard/kernel/sources/extensions/logging/log4j-1.2.9.jar
==============================================================================
Binary file. No diff available.

Added: cocoon/whiteboard/kernel/sources/interfaces/jdbc-datasource/block.xml
==============================================================================
--- (empty file)
+++ cocoon/whiteboard/kernel/sources/interfaces/jdbc-datasource/block.xml	Tue Nov  2 18:30:21
2004
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<interface xmlns="http://apache.org/cocoon/blocks/descriptor/1.0"
+    id="http://cocoon.apache.org/blocks/interfaces/jdbc-datasource/1.0">
+
+  <exposes interface="javax.sql.DataSource"/>
+
+</interface>
\ No newline at end of file

Added: cocoon/whiteboard/kernel/sources/log4j.xml
==============================================================================
--- (empty file)
+++ cocoon/whiteboard/kernel/sources/log4j.xml	Tue Nov  2 18:30:21 2004
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+
+    <appender name="default" class="org.apache.log4j.ConsoleAppender">
+        <layout class="org.apache.log4j.PatternLayout">
+            <param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss.SSS} [%-5p]
%c{2}: %m%n"/>
+        </layout>	    
+    </appender>
+
+    <root>
+        <priority value ="debug" />
+        <appender-ref ref="default" />
+    </root>
+	
+</log4j:configuration>

Added: cocoon/whiteboard/kernel/sources/modules/commons-collections/block.xml
==============================================================================
--- (empty file)
+++ cocoon/whiteboard/kernel/sources/modules/commons-collections/block.xml	Tue Nov  2 18:30:21
2004
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<module xmlns="http://apache.org/cocoon/blocks/descriptor/1.0"
+    id="http://cocoon.apache.org/abstracts/jakarta/commons-collections/3.1">
+  
+  <libraries>
+    <library href="commons-collections-3.1.jar"/>
+  </libraries>
+
+</module>

Added: cocoon/whiteboard/kernel/sources/modules/commons-collections/commons-collections-3.1.jar
==============================================================================
Binary file. No diff available.

Added: cocoon/whiteboard/kernel/sources/modules/commons-pool/block.xml
==============================================================================
--- (empty file)
+++ cocoon/whiteboard/kernel/sources/modules/commons-pool/block.xml	Tue Nov  2 18:30:21 2004
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<module xmlns="http://apache.org/cocoon/blocks/descriptor/1.0"
+    id="http://cocoon.apache.org/abstracts/jakarta/commons-pool/1.2">
+
+  <extensions>
+    <extends module="http://cocoon.apache.org/abstracts/jakarta/commons-collections/3.1"/>
+  </extensions>
+
+  <libraries>
+    <library href="commons-pool-1.2.jar"/>
+  </libraries>
+
+</module>

Added: cocoon/whiteboard/kernel/sources/modules/commons-pool/commons-pool-1.2.jar
==============================================================================
Binary file. No diff available.

Mime
View raw message