Lopez, William wrote:
>Hello:
>
>I have defined an Ant task to use JDepend as follows:
>
><target name="synchWebDirs">
>
> <jdepend outputfile="${build.base}/jdepend_web.xml" fork="yes"
>format="xml">
> <sourcespath>
> <pathelement location="${web.build.dir}/Servlet"/>
> </sourcespath>
> <classpath>
> <pathelement location="${env.ANT_HOME}/lib/jdepend.jar"/>
> </classpath>
> </jdepend>
>
> </target>
>
>
>The Servlet project/directory contains multiple packages:
>-com.xxx.servlet
>-com.xxx.servletAdapter
>-com.xxx.xml
>-com.xxx.xmlUpdate
>
>These packages are listed under the "Package" column (after xslt'd) in the
>"Summary" Section but under the "Packages" section under the corresponding
>package not all of the classes from those packages are listed. What am I not
>doing correctly to make all the class files visible to JDepend.
>
>
Could you perhaps send the results file and give examples of which
packages aren't appearing?
One potential gotcha is that <sourcespath> should be pointing to a
directory containing class files, not source files. That element should
be renamed to <classespath>, and will if I ever get ahold of the source
and synched up with the Ant distribution schedule.
Regards,
Mike
--
Mike Clark
http://clarkware.com
(303) 589-3812