As far as I can read from the docs, it is <sourcespath> not <sourcepath>
--
St�phane Bailliez
Software Engineer, Paris - France
iMediation - http://www.imediation.com
Disclaimer: All the opinions expressed above are mine and not those from my
company.
> -----Original Message-----
> From: T Master [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 17, 2001 1:49 AM
> To: ant user mailist
> Subject: 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.
>
>