[ANN] ProblemsView Announcements

New versions of the ProblemsView plugin will be announced under this topic. If you want to get informed automatically about new versions then please select the "Watch this Topic" option.

10 comments
Comment actions Permalink

Version 1.0 is available for downloading since build 5557.
Changes:

  • Inspection for invalid libraries (global, project, application servers, modules levels)

  • Inspection for wrong location of JDK

  • Inspection for missed resource patterns in Compiler settings

  • Inspection for checking File Types with no registered patterns.

  • Inspection for checking availability of Jikes executable


Plugin can be downloaded via Plugin Manager (IDE Settings->Plugins) or directly from here:
http://plugins.intellij.net/plugin/?id=928

0
Comment actions Permalink

When 2.0 will be ready? ;)

Message was edited by:
Dmitry Kashin

0
Comment actions Permalink

A very sweet idea, and it should probably be in the core product. It seems to have some trouble finding JDKs under Mac OSX, though. It says both the built-in JDK and the plugin JDK I've got set up are invalid, although the project settings report no difficulties.

--Dave Griffith

0
Comment actions Permalink

Thanks a lot, Dave! :)

So, i guess, now it very-very beta version. I'll try to continue work on it.
I'm also be very pleasant to get some recomendation from you, as Inspection Master of IDEA :)

About problem you reported, i'm confusing to get some reasons of this.
This is inspection for JDK:

 problems = new ArrayList();
        ProjectJdkTable jdkTable = ProjectJdkTable.getInstance();
        ProjectJdk[] projectJdks = jdkTable.getAllJdks();
        if (projectJdks != null && projectJdks.length > 0) {
            for (ProjectJdk jdk : projectJdks) {
                if (!FindFileUtil.isValidUrl(jdk.getBinPath()) ||
                        !FindFileUtil.isValidUrl(jdk.getHomePath()) ||
                        !FindFileUtil.isValidUrl(jdk.getRtLibraryPath()) ||
                        !FindFileUtil.isValidUrl(jdk.getToolsPath())
                        ) {
                    problems.add(new JdkProblem(jdk));
                }
            }
        } else {
            problems.add(new NoJdkProblem());
        }
        return problems.toArray(Problem.EMPTY_PROBLEM_ARRAY);
    }
}
]]>

This is FindFileUtil:

Any ideas?

Thanks!

0
Comment actions Permalink

No clue, I'm afraid. That's how I'd have implemented it as well. File separator character issues?

--Dave Griffith

0
Comment actions Permalink

I don't think it's related to Mac OS X, i have both my jdks marked invalid at work too.
This is using 5557 with Windows 2000.

0
Comment actions Permalink

I have no problem with JDK 1.5, JDK 6 and plugin JDK on Windows XP

0
Comment actions Permalink

Hello Dave and Thibaut,
Can you send me yours ${idea.config.path}/options/jdk.table.xml?

Thanks!

0
Comment actions Permalink

here it comes



Attachment(s):
jdk.table.xml
0
Comment actions Permalink

Here ya go



Attachment(s):
jdk.table.xml
0

Please sign in to leave a comment.