ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/manifest core-ant-descriptor.template
Date Sun, 03 Feb 2002 01:11:14 GMT
adammurdoch    02/02/02 17:11:14

  Modified:    proposal/myrmidon antlib.xml
               proposal/myrmidon/src/manifest core-ant-descriptor.template
  Log:
  * Changed typelib descriptor template, to generate definitions for
    classes that implement DataType.  Generates a <data-type> and
    a <task> definition for each DataType.
  
  * Include ant-roles.xml in generated typelibs.
  
  Revision  Changes    Path
  1.3       +5 -1      jakarta-ant/proposal/myrmidon/antlib.xml
  
  Index: antlib.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/antlib.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- antlib.xml	3 Feb 2002 00:05:38 -0000	1.2
  +++ antlib.xml	3 Feb 2002 01:11:14 -0000	1.3
  @@ -29,6 +29,7 @@
     <property name="antlib.name" value="NONAME"/>
     <property name="antlib.include" value="org/apache/antlib/${antlib.name}/**"/>
     <property name="antlib.descriptor" value="${antlib.name}-ant-descriptor.xml"/>
  +  <property name="antlib.role.descriptor" value="${antlib.name}-ant-roles.xml"/>
   
     <path id="project.class.path">
       <pathelement path="${java.class.path}" />
  @@ -58,7 +59,7 @@
         <template templateFile="${manifest.dir}/core-ant-descriptor.template"
                   destinationfile="${antlib.descriptor}"/>
         <template templateFile="${manifest.dir}/builtin-ant-roles.template"
  -                destinationfile="${antlib.name}-ant-roles.xml"/>
  +                destinationfile="${antlib.role.descriptor}"/>
       </xdoclet>
     </target>
   
  @@ -68,6 +69,9 @@
         <include name="${antlib.include}" />
         <zipfileset dir="${gen.dir}" fullpath="META-INF/ant-descriptor.xml">
           <include name="${antlib.descriptor}"/>
  +      </zipfileset>
  +      <zipfileset dir="${gen.dir}" fullpath="META-INF/ant-roles.xml">
  +        <include name="${antlib.role.descriptor}"/>
         </zipfileset>
       </jar>
     </target>
  
  
  
  1.4       +11 -2     jakarta-ant/proposal/myrmidon/src/manifest/core-ant-descriptor.template
  
  Index: core-ant-descriptor.template
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/manifest/core-ant-descriptor.template,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- core-ant-descriptor.template	13 Jan 2002 19:07:36 -0000	1.3
  +++ core-ant-descriptor.template	3 Feb 2002 01:11:14 -0000	1.4
  @@ -2,18 +2,27 @@
   
     <types>
   
  -    <XDtClass:forAllClasses type="org.apache.myrmidon.api.AbstractTask" extent="hierarchy">
  +    <XDtClass:forAllClasses type="org.apache.myrmidon.api.Task" extent="hierarchy">
         <XDtClass:ifHasClassTag tagName="ant:task">
           <task name="<XDtClass:classTagValue tagName="ant:task" paramName="name"/>"
                 classname="<XDtClass:fullClassName/>"/>
         </XDtClass:ifHasClassTag>
       </XDtClass:forAllClasses>
   
  +    <XDtClass:forAllClasses type="org.apache.myrmidon.framework.DataType" extent="hierarchy">
  +      <XDtClass:ifHasClassTag tagName="ant:data-type">
  +        <data-type name="<XDtClass:classTagValue tagName="ant:data-type" paramName="name"/>"
  +              classname="<XDtClass:fullClassName/>"/>
  +        <task name="<XDtClass:classTagValue tagName="ant:data-type" paramName="name"/>"
  +              classname="org.apache.myrmidon.framework.TypeInstanceTask"/>
  +      </XDtClass:ifHasClassTag>
  +    </XDtClass:forAllClasses>
  +
     </types>
   
     <converters>
   
  -    <XDtClass:forAllClasses type="org.apache.myrmidon.converter.AbstractConverter">
  +    <XDtClass:forAllClasses type="org.apache.myrmidon.converter.Converter">
         <XDtClass:ifHasClassTag tagName="ant:converter">
           <converter classname="<XDtClass:fullClassName/>"
                      source="<XDtClass:classTagValue tagName="ant:converter" paramName="source"/>"
  
  
  

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


Mime
View raw message