Thanks Mark, I was thinking along the same lines that it may have to do with an older version of jdepend since I hadnt upgraded for a long time.
Thanks for your help,
Bharat
Mike Clark <mike@...> wrote:
Mike Clark <mike@...> wrote:
On Jul 14, 2004, at 8:48 AM, Bharat Goyal wrote:
> I have been using the JDepend cent as part of Centipede for builds. It
> is working fine for all projects, until recently it has started giving
> me this exception for on eof them.
>
> I get this...
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
> String index out of range: -8
> at java.lang.String.substring(String.java:1520)
> at jdepend.framework.JavaSourceFileParser.parseImport(Unknown
> Source)
> at jdepend.framework.JavaSourceFileParser.addImport(Unknown
> Source)
> at jdepend.framework.JavaSourceFileParser.parse(Unknown Source)
> at jdepend
> Any help appreciated.
Hi Bharat,
That's an artifact of an older version of JDepend, back in the day when
you could analyze source files. Modern versions only analyze class
files for better accuracy.
Regards,
Mike
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!