You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Conor MacNeill <co...@cortexebusiness.com.au> on 2003/04/03 16:30:40 UTC

jdepend error

The version of jdepend I have hanging around for building Ant is not 
compatible with the recent changes

home/conor/development/apache/ant/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java:450: 
cannot resolve symbol
symbol  : method setFilter (jdepend.framework.PackageFilter)
location: class jdepend.textui.JDepend
            jdepend.setFilter(new jdepend.framework.PackageFilter(v));
                   ^

Just FYI ...

Conor

-- 
Conor MacNeill
Blog: http://codefeed.com/blog/

Re: jdepend error

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 4 Apr 2003, Conor MacNeill <co...@cortexebusiness.com.au>
wrote:
> On Fri, 4 Apr 2003 12:38 am, Stefan Bodewig wrote:
>> On Fri, 4 Apr 2003, Conor MacNeill <co...@cortexebusiness.com.au>
>>
>> wrote:
>> > The version of jdepend I have hanging around for building Ant is
>> > not compatible with the recent changes
>>
>> Any chance to find out which version that is?
> 
> Not really - just jdepend.jar.

OK.  JDepend's release history says, setFilter has been introduced in
2.5 - I've updated the manual to that effect.

Could you please compile the task and run some simple metrics?  Maybe
you could also use the nested <exclude> element and see whether it
works as intended (i.e. print a warning and go on creating the
report).

Thanks

        Stefan

Re: jdepend error

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
On Fri, 4 Apr 2003 12:38 am, Stefan Bodewig wrote:
> On Fri, 4 Apr 2003, Conor MacNeill <co...@cortexebusiness.com.au>
>
> wrote:
> > The version of jdepend I have hanging around for building Ant is not
> > compatible with the recent changes
>
> Any chance to find out which version that is?

Not really - just jdepend.jar. It's been on my system for a while though.

>
> I'll throw in a little reflection around this (the manual still claims
> support for JDepend >= 1.2 and we don't need to break it if a
> workaround is possible).
>

+1

-- 
Conor MacNeill
Blog: http://codefeed.com/blog/

Re: jdepend error

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 4 Apr 2003, Conor MacNeill <co...@cortexebusiness.com.au>
wrote:

> The version of jdepend I have hanging around for building Ant is not
> compatible with the recent changes

Any chance to find out which version that is?

I'll throw in a little reflection around this (the manual still claims
support for JDepend >= 1.2 and we don't need to break it if a
workaround is possible).

Thanks

Stefan

Re: jdepend error

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
On Fri, 4 Apr 2003 01:03 am, Stefan Bodewig wrote:
>
> Does it at least have the PackageFilter class?
>

Yes, in the depend.framework package.

-- 
Conor MacNeill
Blog: http://codefeed.com/blog/

Re: jdepend error

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 4 Apr 2003, Conor MacNeill <co...@cortexebusiness.com.au>
wrote:

> The version of jdepend I have hanging around for building Ant is not
> compatible with the recent changes

Does it at least have the PackageFilter class?

Stefan