Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Haskforce Plugin interferes with Java Builds #278
First of all thanks for the great work on the Haskforce plugin. It is very useful while taking my first steps in the Haskell world.
However I ran into an issue with a Java project today, that uses 1.6 as target JVM. The default JVM installed on my system is 1.8.
Since the stacktrace shows some Haskforce methods, I decided to disable the Haskforce plugin. After that rebuilding Java projects worked fine again.
Note that things are also working fine if I configure 1.8 as target JVM also. Myself and a colleague were able to reproduce the issue with a minimal Java project also.
Ok, could you go to Help > About from the top menu and paste what you have there? There should be a Copy to clipboard link. For instance, mine reports -
I'm thinking there's a conflict between the JDK version you are running IntelliJ with and the version which HaskForce targets (even though it should be JDK 6).
added a commit
Jun 26, 2016
Almost the same for me with the v0.3-beta.35, should I open another ticket ?
Error whenever I try to make any other project not java 8, had to uninstall Haskforce :-(
No need to open another ticket, this one should be fine.
I'll continue working on a solution, but in the meantime, you can use version v0.3-beta.33 which does not have the issue. Note that the build button will not work for Haskell projects, but everything else should be fine (aside from bugs fixed in the latest release).