You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by T Master <tm...@iknowledgeinc.com> on 2001/08/17 01:48:32 UTC

JDependTask problem (ant1.4)


 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.