How to get IDEA not to compile groovy scripts? Follow
I have a lot of groovy scripts in my test/resources directory that IDEA wants to compile by default. I load these dynamically for unit tests and there are copies of the same class in them for testing purposes, so compilation fails. I can remove the test resource directory as source via the project settings, but every time I re-import my pom the change gets blown away. Is there a way to do prevent these scripts from being compiled that will preserve a project reimport from the pom?
Daniel
Please sign in to leave a comment.
Settings -> Compiler -> Excludes :-)
Wonderful. Thanks very much!
Daniel