Browse Source

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

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271055 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
c96e2c9dfc
1 changed files with 33 additions and 0 deletions
  1. +33
    -0
      proposal/myrmidon/depend.xml

+ 33
- 0
proposal/myrmidon/depend.xml View File

@@ -0,0 +1,33 @@
<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>

Loading…
Cancel
Save