blob: dd2f1ab5709230b02bc37ba98d79cb57694575a0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<deploy xmlns="http://cocoon.apache.org/cob-deployment/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://cocoon.apache.org/cob-deployment/1.0 deploy-schema-1.0.xsd">
<locators>
<locator uri="C:\myDirectory" add-unavailable-blocks="true"/>
<locator uri="F:\anotherDirectory"/>
<locator uri="http://cocoon.apache.org/block-repository/"/>
</locators>
<install>
<!-- install Cocoon 2.2 at d:\ -->
<cocoon version="2.2" target-uri="d:\"/>
<!-- install this block and set the property xyz and define which
block implementations should be used for the defined requirements
this overrides the default values set in block.xml -->
<block id="http://mycompany.com/webmail/1.3.43" auto-resolve="false">
<use block="http://mycompany.com/myblock/1.3.43" interface="http://bla/1.0" />
<use block="http://mycompany.com/myOtherBlock/1.3.43" interface="http://bar/1.0" />
<property name="mailserver" value="xyz"/>
</block>
<block id="http://mycompany.com/myblock/1.3.43" auto-resolve="false">
<property name="driver" value="myDriver.class"/>
</block>
<block id="http://mycompany.com/myOtherBlock/1.3.43" auto-resolve="false" path="E:\myBlockDevDir"/>
</install>
</deploy>