Author: reinhard Date: Sun Nov 7 13:44:35 2004 New Revision: 56868 Modified: cocoon/whiteboard/block-deployer/mapping/block.xml-mapping.xml cocoon/whiteboard/block-deployer/mapping/sample-block.xml cocoon/whiteboard/block-deployer/mapping/sample-wiring.xml cocoon/whiteboard/block-deployer/mapping/wiring.xml-mapping.xml Log: license header
Modified: cocoon/whiteboard/block-deployer/mapping/block.xml-mapping.xml ============================================================================== --- cocoon/whiteboard/block-deployer/mapping/block.xml-mapping.xml (original) +++ cocoon/whiteboard/block-deployer/mapping/block.xml-mapping.xml Sun Nov 7 13:44:35 2004 @@ -1,4 +1,19 @@ <?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. +--> <!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.exolab.org/mapping.dtd"> <mapping> Modified: cocoon/whiteboard/block-deployer/mapping/sample-block.xml ============================================================================== --- cocoon/whiteboard/block-deployer/mapping/sample-block.xml (original) +++ cocoon/whiteboard/block-deployer/mapping/sample-block.xml Sun Nov 7 13:44:35 2004 @@ -1,56 +1,27 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<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> +<!-- + Copyright 1999-2004 The Apache Software Foundation - <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> + 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> + <locators> + <locator>C:\myDirectory</locator> + <locator>F:\anotherDirectory</locator> + </locators> + <cocoon-root version="2.2">E:\blblbl</cocoon-root> + <install> + <block id="http://mycompany.com/webmail/1.3.43" auto-resolve="true"/> + <block id="http://mycompany.com/myblock/1.3.43" auto-resolve="false"/> + </install> +</deploy> \ No newline at end of file Modified: cocoon/whiteboard/block-deployer/mapping/sample-wiring.xml ============================================================================== --- cocoon/whiteboard/block-deployer/mapping/sample-wiring.xml (original) +++ cocoon/whiteboard/block-deployer/mapping/sample-wiring.xml Sun Nov 7 13:44:35 2004 @@ -1,3 +1,18 @@ +<!-- + 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. +--> <!-- in Stefan's example "blocks" instead of "wiring" is used --> <wiring xmlns="http://apache.org/cocoon/blocks/wiring/1.0"> Modified: cocoon/whiteboard/block-deployer/mapping/wiring.xml-mapping.xml ============================================================================== --- cocoon/whiteboard/block-deployer/mapping/wiring.xml-mapping.xml (original) +++ cocoon/whiteboard/block-deployer/mapping/wiring.xml-mapping.xml Sun Nov 7 13:44:35 2004 @@ -1,4 +1,19 @@ <?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. +--> <!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.exolab.org/mapping.dtd"> <mapping>