ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Bailliez" <sbaill...@apache.org>
Subject Re: JDependTask problem (ant1.4)
Date Fri, 17 Aug 2001 23:51:26 GMT
----- Original Message -----
From: "T Master" <tmaster@iknowledgeinc.com>

> The comments in the JDependTask are incorrect.  Want me to submit reworked
> comments?

Sure. It might help someone else that may bump into the same problems as
yours.

> How can I modify fileset so it returns only directories, and not the
> files????

Better not to use a fileset. Use individual <pathelement>
<sourcespath>
  <pathelement location="......"/>
  <pathelement location="......"/>
  ...
</sourcespath>

or:
<sourcespath>
    <pathelement path="path1:path2:path3"/>
</sourcespath>

Stephane

>     <!-- requires ant.14 optional.jar -->
>     <target name="dependencies" depends="init">
>         <jdepend outputFile="jdepend-results.txt" haltonerror="no"
> fork="no">
>             <sourcespath>
>                 <path>
>                     <fileset dir="${src.dir}">
>                         <include name="**/"/>
>                     </fileset>
>                 </path>
>             </sourcespath>
>         </jdepend>
>     </target>
>
>
> T Master.
> ----- Original Message -----
> From: "Stephane Bailliez" <sbailliez@imediation.com>
> To: <ant-user@jakarta.apache.org>
> Sent: Friday, August 17, 2001 3:57 AM
> Subject: RE: JDependTask problem (ant1.4)
>
>
> >
> > As far as I can read from the docs, it is <sourcespath> not <sourcepath>
> >
>


Mime
View raw message