Author: reinhard Date: Thu Oct 28 06:36:15 2004 New Revision: 55847 Added: cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/.project cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/block.build.properties cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/build.xml cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/descriptor.xml Log: properties, descriptor, build script
Added: cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/.project ============================================================================== --- (empty file) +++ cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/.project Thu Oct 28 06:36:15 2004 @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>CocoonBlock - Authentication Framework</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> Added: cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/block.build.properties ============================================================================== --- (empty file) +++ cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/block.build.properties Thu Oct 28 06:36:15 2004 @@ -0,0 +1,24 @@ +# 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. +# +#---------------------------------------------- +# Build Properties +#---------------------------------------------- + +src.public=src/public +lib.dir=../../../trunk/lib + +# ---- References -------------------------------------------------------------- +root.core=../../../trunk +root.block.authentication-fw=../../authentication-fw/trunk \ No newline at end of file Added: cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/build.xml ============================================================================== --- (empty file) +++ cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/build.xml Thu Oct 28 06:36:15 2004 @@ -0,0 +1,16 @@ +<!-- build a block --> +<project default="compile" name="Build autentication-fw block"> + + <property file="local.block.build.properties"/> + <available file="${blockbuilder.root}" property="available.blockbuilder.root"/> + <fail unless="available.blockbuilder.root" + message="Property blockbuilder.root has to be set!"/> + + <xslt in="descriptor.xml" + out="build/temp/build-by-xslt.xml" + style="${blockbuilder.root}/targets/block-descriptor2ant-script.xsl"> + </xslt> + + <import file="build/temp/build-by-xslt.xml"/> + +</project> \ No newline at end of file Added: cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/descriptor.xml ============================================================================== --- (empty file) +++ cocoon/whiteboard/block-builder/test/blocks/myBlock/trunk/descriptor.xml Thu Oct 28 06:36:15 2004 @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<block id="http://apache.org/cocoon/autentication-fw/1.0"> + + <name>My dummy Block</name> + <author href="http://cocoon.apache.org">Cocoon Community</author> + <license href="http://www.apache.org/LICENSE-2.0/">Apache Software License 2.0</license> + + <requirements> + <requires + block="http://apache.org/cocoon/authentication-fw/1.0" + name="authentication-fw"/> + </requirements> + + </block> \ No newline at end of file