I have found that there seems to be some issues between compilation and
unit test execution in IntelliJ IDEA, and this must be me just missing
something. Hopefully something very simple.
I pointed IntelliJ IDEA at my standard installation of Groovy (its a
build of Subversion HEAD of yesterday sometime, so Groovy 1.6) I then
added Groovy 1.5.6 from my Maven repository as the version of Groovy to
compile against. This all led to successful compilation for both Main
and Test. However when I tried to run the tests I always get a problem
of CallSite not being found. This implies that the IntelliJ IDEA
compiler is using only the jars specified, but the runtime is using the
Groovy plugin installation jar prior to the specified jars. I can sort
of see how this can be but isn't this an error? If I replace the
compilation jars with the ones from the Groovy installation then
compilation and execution of unit tests proceeds as expected.
Unfortuantely most of the unit tests fail in IntelliJ IDEA (even though
they pass in all other systems) because the tests appear to be running
on the assumption of a JVM 1.3 whereas compilation was specified to be
to 5.0. I guess there must be an execution level button I am failing to
find that is causing this disparity between compilation and execution.
The project settings is language level 5.0 which appears to set -source
1.5 but fails to set -target 1.5?
On the displays front:
My GTK+ theme specifies panel backgrounds to be a specific colour. Most
of the IntelliJ IDEA is now obeying this. However some panels (all ones
with terminal output or code display/editing I think) are still white --
which looks fairly hideous in this theme. I am guessing that this is a
deep PLAF error in the IntelliJ IDEA code (so I guess I should submit a
bug report), but I worry that I am just missing something. My
justification for this being an error is that this white background
issue doesn't happen with Eclipse or NetBeans. My worry that it isn't
is that I am very new to IntelliJ IDEA and don't know it well enough.
Thanks.
--
Russel.
====================================================
Dr Russel Winder Partner
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084
London SW11 1EN, UK. m: +44 7770 465 077