ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject JDependTask problem (ant1.4)
Date Thu, 16 Aug 2001 23:48:32 GMT


 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.



Mime
View raw message