On Sep 6, 2006, at 1:13 PM, Pierre Goupil wrote:
> Hi all !
>
> I post this here because I sent a mail to the author of JDepend and
> he told me that he was afraid he couldn't help me very much. I've
> encountered a problem when trying to use both JDepend & Ant under
> Eclipse. And now that the problem is fixed, I tought it would be
> nice to post the solution here.
>
> So, what's the stuff ? It's about Eclipse complaining and build
> aborting when trying to launch the <jdepend> Ant task. Well, the
> fix is here :
>
>
http://www.ryanlowe.ca/blog/archives/
> 001038_junit_ant_task_doesnt_work_in_eclipse.php
>
> Same cause, same solution : you got to give the "jdepend.jar" to
> Ant via Window / preferences / Ant, within Eclipse. The Eclipse
> provided files aren't enought.
>
> This plus adding a "<classpath location="..."> to where the .jar
> is in your build.xml, et voila !
Thanks for taking the time to post the solution, Pierre!
Mike