alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Ant example source code file (jdepend.xml)

This example Ant source code file (jdepend.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Ant tags/keywords

The jdepend.xml source code

<project>
  <property name="testclasses" location="../../../../../../build/testcases"/>
  
  <path id="all-test-classes.id">
    <pathelement location="../../../../build/testcases" />
    <pathelement path="${java.class.path}" />
  </path>

  <path id="example-classes.id">
    <pathelement location="${testclasses}/org/apache/tools/ant/util/facade" />
  </path>

  <path id="test-classes.id">
    <pathelement location="${testclasses}" />
  </path>

  <target name="simple">
    <jdepend>
      <classespath refid="example-classes.id"/>
    </jdepend>
  </target>

  <target name="xml">
    <jdepend format="xml">
      <classespath refid="example-classes.id"/>
    </jdepend>
  </target>

  <target name="fork">
    <jdepend fork="yes" includeruntime="yes">
      <classespath refid="example-classes.id"/>
    </jdepend>
  </target>

  <target name="fork-xml">
    <jdepend fork="yes" format="xml" includeruntime="yes">
      <classespath refid="example-classes.id"/>
    </jdepend>
  </target>

  <target name="fork-timeout">
    <jdepend fork="yes" timeout="10" includeruntime="yes">
      <classespath refid="test-classes.id"/>
    </jdepend>
  </target>

  <target name="fork-timeout-not">
    <jdepend fork="yes" timeout="100000" includeruntime="yes">
      <classespath refid="example-classes.id"/>
    </jdepend>
  </target>

</project>

Other Ant examples (source code examples)

Here is a short list of links related to this Ant jdepend.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.