IDEA compiler unusable in 99.5

Has anything changed in the maven compiler? I've installed 99.5 and am now sorry for that. Compiling all of the project now fails with hundreds of bizarre errors, claiming it can't find classes from my core module (with or without scope tweaks in IDEA's module config). What makes it worse - the editor resolves them all correctly, no issues.

8 comments
Comment actions Permalink

Same for auto-completion, everything works fine there. But the compiler... Looks like it's living in its own isolated universe
:(


0
Comment actions Permalink

Hello Andrew,

Does a full project rebuild help?

Has anything changed in the maven compiler? I've installed 99.5 and am
now sorry for that. Compiling all of the project now fails with
hundreds of bizarre errors, claiming it can't find classes from my
core module (with or without scope tweaks in IDEA's module config).
What makes it worse - the editor resolves them all correctly, no
issues.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Andrew,

Did previous builds work fine?
Try invalidating caches, reimport and rebuild.
If it doesn't help with your project, try creating a new maven project with some dependency and compile it.
Also it would help if you send us a sample project that shows the problem.

Thanks,
Anton Makeev

0
Comment actions Permalink

Hi Dmitry,

Did invalidate caches, rebuilt project, full reimport of maven poms.

I can't come up with a better example than a full project, unfortunately, here's how to reproduce:


P.S.: any groovy generated files that compiler complains about - just ignore those IDEA-generated files by right-clicking -> Ignore in the output window

Expected: project finishes compilation ok (as before)
Actual: transports/ajax lists numerous compilation errors, BUT editor is all green and auto-completes without issues. What's really odd is compiler points to the classes in the *same* module, which should just be compiled, it's not any external dependency.

The only way to at least make IDEA work from here is to ignore/exclude this ajax module completely, but that defeats the purpose - there's no way to work on this excluded module then.

0
Comment actions Permalink

Andrew,

Is is correct that this problem is covered by http://youtrack.jetbrains.net/issue/IDEA-62059 and http://youtrack.jetbrains.net/issue/IDEA-55125?
If it is, we'll try to come up with a fix ASAP, If it is not, please create new issue.

Thanks

0
Comment actions Permalink

No Anton, I don't think so (but you know IDEA internals better ;) )

Those issues are just steps to bypass other issues IDEA had like forever, we just learned to work around them. If those steps aren't applied you'll get different compilation errors (test-jar sources not on classpath for regular java modules, like e.g. a func-test one in our case, even though the dep is properly declared in maven).

Andrew

0
Comment actions Permalink

Please create a bug report.
Thanks.

0

Please sign in to leave a comment.