ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: JDependTask problem (ant1.4)
Date Fri, 17 Aug 2001 09:57:10 GMT

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:tmaster@iknowledgeinc.com]
> 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.
> 
> 

Mime
View raw message