ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon depend.xml
Date Sat, 02 Feb 2002 04:23:02 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message