You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2004/11/07 22:44:08 UTC
svn commit: rev 56867 - cocoon/whiteboard/block-deployer/mapping
Author: reinhard
Date: Sun Nov 7 13:44:07 2004
New Revision: 56867
Added:
cocoon/whiteboard/block-deployer/mapping/sample-deploy.xml
Log:
sample for deployment configuration
Added: cocoon/whiteboard/block-deployer/mapping/sample-deploy.xml
==============================================================================
--- (empty file)
+++ cocoon/whiteboard/block-deployer/mapping/sample-deploy.xml Sun Nov 7 13:44:07 2004
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+ id="http://mycompany.com/webmail/1.3.43">
+
+ <!-- sample block.xml -->
+
+ <!-- MANDATORY -->
+
+ <name>Super Webmail</name>
+ <description href="http://www.mycompany.com/products/webmail/">This is a super webmail block with amazing functionalities</description>
+ <license href="http://www.mycompany.com/license/1.3">BSD License</license>
+ <author href="http://www.mycompany.com/">MyCompany Inc.</author>
+ <sitemap src="/webmail.xmap"/>
+
+ <!-- OPTIONAL -->
+
+ <requirements>
+ <requires
+ block="http://mycompany.com/skin"
+ name="external-skin"
+ />
+ <requires
+ block="http://mycompany.com/skin/2.0"
+ name="internal-skin"
+ />
+ <requires
+ block="http://anothercompany.com/MailRepository/2.0"
+ name="repository">
+ <uses component="com.anothercompany.repository.Repository"
+ name="repository"
+ />
+ </requires>
+ </requirements>
+
+ <properties>
+ <property name="database.user">
+ <default>saa</default>
+ <description>the database user �</description>
+ <test>test</test>
+ </property>
+
+ <property name="database.user1">
+ <default>sa1</default>
+ <description>the database user</description>
+ <test>test</test>
+ </property>
+
+ </properties>
+
+ <implements block="http://mycompany.com/skin/1.2"/>
+
+ <extends block="http://yetanothercompany.com/skins/fancy/1.2.2"/>
+
+ <provides component="http://anothercompany.repository.Repository"/>
+
+</block>