How do I use this task correctly?   Analysing the source code, I created
the following target, but am having problems setting the sourcepath.

     <!-- requires ant.14 optional.jar -->
     <target name="dependencies" depends="init">
         <jdepend outputFile="" ignore="no" haltonerror="no" fork="no">
             <sourcepath>
                 <path>
                     <fileset dir="${src.dir}">
                         <include name="**/"/>
                     </fileset>
                 </path>
             </sourcepath>
         </jdepend>
     </target>


 Error report:
 $>ant.bat dependencies
 Buildfile: build.xml
 BUILD FAILED
 The <jdepend> task doesn't support the nested "sourcepath" element.
 Total time: 0 seconds
 $>

 Thanks,

 T Master.


Reply via email to