git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272095 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -676,6 +676,29 @@ Legal: | |||||
| </target> | </target> | ||||
| <target name="jdepend" description="Generate Dependency Analysis Report"> | |||||
| <path id="java.src"> | |||||
| <pathelement location="src/test"/> | |||||
| <pathelement location="src/java"/> | |||||
| </path> | |||||
| <!-- this invocation of jdepend requires the CVS version of ant for the xml format --> | |||||
| <jdepend outputfile="${build.dir}/jdepend-results.xml" format="xml" fork="yes"> | |||||
| <classpath refid="project.class.path"/> | |||||
| <sourcespath> | |||||
| <path refid="java.src" /> | |||||
| </sourcespath> | |||||
| </jdepend> | |||||
| <property name="build.reports" value="${build.dir}/reports"/> | |||||
| <mkdir dir="${build.reports}/jdepend"/> | |||||
| <style in="${build.dir}/jdepend-results.xml" | |||||
| processor="trax" | |||||
| out="${build.reports}/jdepend/delete-me.txt" | |||||
| style="${ant.home}/etc/jdepend-frames.xsl"/> | |||||
| </target> | |||||
| <!-- Creates the distribution --> | <!-- Creates the distribution --> | ||||
| <target name="dist-lite" | <target name="dist-lite" | ||||
| depends="jars" | depends="jars" | ||||
| @@ -1,33 +0,0 @@ | |||||
| <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> | |||||