cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/tools/src gump2blocks.properties.xsl
Date Thu, 11 Mar 2004 02:52:12 GMT
joerg       2004/03/10 18:52:12

  Modified:    tools/src gump2blocks.properties.xsl
  Log:
  add the license to the generated blocks.properties
  
  Revision  Changes    Path
  1.4       +18 -0     cocoon-2.1/tools/src/gump2blocks.properties.xsl
  
  Index: gump2blocks.properties.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/tools/src/gump2blocks.properties.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- gump2blocks.properties.xsl	8 Mar 2004 06:07:15 -0000	1.3
  +++ gump2blocks.properties.xsl	11 Mar 2004 02:52:12 -0000	1.4
  @@ -24,6 +24,23 @@
   
   <desc:descs>
   
  +<desc:desc name="license">
  +#  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.
  +#
  +</desc:desc>
  +
   <desc:desc name="common">
   #------------------------------------------------------------------------------#
   #                             Cocoon Blocks                                    #
  @@ -76,6 +93,7 @@
   </desc:descs>
   
   <xsl:template match="/module">
  +    <xsl:value-of select="document('')/xsl:stylesheet/desc:descs/desc:desc[@name = 'license']"/>
       <xsl:value-of select="document('')/xsl:stylesheet/desc:descs/desc:desc[@name = 'common']"/>
       <xsl:apply-templates
           select="project[starts-with(@name, 'cocoon-block-')]
  
  
  

Mime
View raw message