donaldp     02/03/29 05:06:38

  Modified:    proposal/myrmidon build.xml
  Removed:     proposal/myrmidon depend.xml
  Log:
  Merge jdepend report generation into main build file.
  
  Revision  Changes    Path
  1.93      +23 -0     jakarta-ant/proposal/myrmidon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/build.xml,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- build.xml 29 Mar 2002 12:59:17 -0000      1.92
  +++ build.xml 29 Mar 2002 13:06:38 -0000      1.93
  @@ -676,6 +676,29 @@
   
       </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 -->
       <target name="dist-lite"
           depends="jars"
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to