avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/xdoclet blockinfo.j
Date Sun, 12 May 2002 06:49:33 GMT
donaldp     02/05/11 23:49:33

  Modified:    src/java/org/apache/avalon/phoenix/tools/xdoclet blockinfo.j
  Log:
  Update XDoclet template from cornerstone version and add in support for adding dependencies
via service(ServiceManager) method.
  
  Revision  Changes    Path
  1.2       +20 -7     jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/xdoclet/blockinfo.j
  
  Index: blockinfo.j
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/xdoclet/blockinfo.j,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- blockinfo.j	26 Feb 2002 11:15:48 -0000	1.1
  +++ blockinfo.j	12 May 2002 06:49:33 -0000	1.2
  @@ -1,5 +1,5 @@
   <?xml version="1.0"?>
  -<!DOCTYPE blockinfo PUBLIC "-//PHOENIX/Block Info DTD Version 1.0//EN" 
  +<!DOCTYPE blockinfo PUBLIC "-//PHOENIX/Block Info DTD Version 1.0//EN"
                     "http://jakarta.apache.org/phoenix/blockinfo_1_0.dtd">
   
   <blockinfo>
  @@ -19,16 +19,29 @@
   
     <!-- services that are required by this block -->
     <dependencies>
  -    <XDtMethod:ifHasMethod name="compose" 
  +    <XDtMethod:ifHasMethod name="compose"
                              parameters="org.apache.avalon.framework.component.ComponentManager">
         <XDtMethod:setCurrentMethod name="compose"
                                     parameters="org.apache.avalon.framework.component.ComponentManager">
  -      <dependency>
  -        <service name="<XDtMethod:methodTagValue tagName="phoenix:dependency" paramName="name"/>"

  -                 version="<XDtMethod:methodTagValue tagName="phoenix:dependency" paramName="version"
default="1.0"/>"/>
  -      </dependency>
  +        <XDtMethod:forAllMethodTags tagName="phoenix:dependency">
  +          <dependency>
  +            <service name="<XDtMethod:methodTagValue tagName="phoenix:dependency"
paramName="name"/>"
  +                      version="<XDtMethod:methodTagValue tagName="phoenix:dependency"
paramName="version" default="1.0"/>"/>
  +          </dependency>
  +        </XDtMethod:forAllMethodTags>
  +      </XDtMethod:setCurrentMethod>
  +    </XDtMethod:ifHasMethod>
  +    <XDtMethod:ifHasMethod name="service"
  +                           parameters="org.apache.avalon.framework.service.ServiceManager">
  +      <XDtMethod:setCurrentMethod name="service"
  +                                  parameters="org.apache.avalon.framework.service.ServiceManager">
  +        <XDtMethod:forAllMethodTags tagName="phoenix:dependency">
  +          <dependency>
  +            <service name="<XDtMethod:methodTagValue tagName="phoenix:dependency"
paramName="name"/>"
  +                      version="<XDtMethod:methodTagValue tagName="phoenix:dependency"
paramName="version" default="1.0"/>"/>
  +          </dependency>
  +        </XDtMethod:forAllMethodTags>
         </XDtMethod:setCurrentMethod>
       </XDtMethod:ifHasMethod>
     </dependencies>
  -
   </blockinfo>
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message