You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2002/02/02 05:23:02 UTC

cvs commit: jakarta-ant/proposal/myrmidon depend.xml

donaldp     02/02/01 20:23:01

  Added:       proposal/myrmidon depend.xml
  Log:
  Add in a basic build file to generate dependency metrics. It uses CVS-only features of ant so shouldn't be pushed into main build file just yet
  
  Revision  Changes    Path
  1.1                  jakarta-ant/proposal/myrmidon/depend.xml
  
  Index: depend.xml
  ===================================================================
  <project default="main" basedir=".">
  
    <!--
      Give user a chance to override without editing this file
      (and without typing -D each time he compiles it)
    -->
    <property file=".ant.properties"/>
    <property file="${user.home}/.ant.properties"/>
  
    <path id="project.class.path">
      <pathelement path="${java.class.path}" />
      <fileset dir="lib">
        <include name="*.jar" />
      </fileset>
      <pathelement path="build/classes" />
    </path>
  
    <!-- Main target -->
    <target name="main" depends="style" />
  
    <!-- lets see what is available -->
    <target name="jdepend">
      <jdepend outputfile="build/jdepend.xml" format="xml" fork="yes">
        <classpath refid="project.class.path"/>
        <sourcespath>
            <pathelement location="src/java" />
        </sourcespath>
      </jdepend>
  
      <style in="build/jdepend.xml" processor="trax" out="build/jdepend.html" style="../../src/etc/jdepend.xsl"/>
    </target>
  
  </project>
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>