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-myrmidon/myrmidon project.xml
Date Sat, 01 Jun 2002 07:03:15 GMT
adammurdoch    2002/06/01 00:03:15

  Modified:    myrmidon project.xml
  Log:
  Added a target to generate html type docs for framework and antlib.  Not part of the dist
yet.
  
  Revision  Changes    Path
  1.7       +46 -0     jakarta-ant-myrmidon/myrmidon/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/myrmidon/project.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- project.xml	12 May 2002 04:03:32 -0000	1.6
  +++ project.xml	1 Jun 2002 07:03:15 -0000	1.7
  @@ -91,4 +91,50 @@
   
       </dist>
   
  +    <target name="taskdoc">
  +        <property name="build.taskdoc" value="${build.dir}/taskdoc"/>
  +        <property name="build.taskmeta" value="${build.taskdoc}/meta"/>
  +        <property name="build.taskxdoc" value="${build.taskdoc}/xdoc"/>
  +        <property name="build.taskhtml" value="${build.taskdoc}/html"/>
  +
  +        <antlib-descriptor destDir="${build.taskmeta}">
  +            <antdoc/>
  +            <fileset dir="../container/src/java"/>
  +            <fileset dir="../framework/src/java"/>
  +            <fileset dir="../framework/src/todo"/>
  +            <fileset dir="../antlib/src/java"/>
  +        </antlib-descriptor>
  +
  +        <property name="stylesheet-dir" location="../tools/xsl"/>
  +        <style basedir="${build.taskmeta}"
  +               destdir="${build.taskxdoc}"
  +               extension=".xml"
  +               style="${stylesheet-dir}/taskdoc.xsl"
  +               includes="**/*.xml"
  +               excludes="types.xml" />
  +        <style in="${build.taskmeta}/types.xml"
  +               out="${build.taskxdoc}/project.xml"
  +               style="${stylesheet-dir}/taskdoc-project.xsl" />
  +        <style in="${build.taskmeta}/types.xml"
  +               out="${build.taskxdoc}/index.xml"
  +               style="${stylesheet-dir}/taskdoc-summary.xsl" />
  +
  +        <taskdef name="anakia"
  +            classname="org.apache.velocity.anakia.AnakiaTask">
  +            <classpath>
  +                <fileset dir="${jakarta-site.dir}/lib">
  +                    <include name="*.jar"/>
  +                </fileset>
  +            </classpath>
  +        </taskdef>
  +
  +        <property name="xdocs.dir" location="../site/src/xdocs"/>
  +        <anakia basedir="${build.taskxdoc}"
  +                destdir="${build.taskhtml}"
  +                projectFile="project.xml"
  +                style="docs.vsl"
  +                templatePath="${xdocs.dir}/stylesheets"
  +                includes="**/*.xml"
  +                excludes="project.xml" />
  +    </target>
   </project>
  
  
  

--
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