Right. So then I had the chance to open a old project in in eclipse today. From an old workspace. Tests still ran, code looked just as bad as badass as before.

Running the clean-build target through ant produced a message I haven’t seen before, though.

C:\Users\tormod.haugen\workspace\PROJECT\build.xml:38: Error starting modern compiler

Luckily Google was just a browser away, and I discovered through pitr’s blog that I needed to update the JVM used by Eclipse to the same as pointed at by JAVA_HOME.

I guess there can be more to it, and I guess you could override JAVA_HOME for that build, but this worked. Thanks.