Module Make is not compiling Groovy Code

I have a project with several modules, one contains groovy. My ant tasks compile the groovy accordingly, however, when using Idea's 'Make' the groovy files are not compiled.

I have installed the latest groovy library and have my groovy facet configured appropriately, so what am I missing here?

Thanks!

6 comments
Comment actions Permalink

Are groovy files contained under source roots in your project?

0
Comment actions Permalink

I also have a problem with make not making the whole project.
I have a pure GEE5 ;) application.

All of my code is under source directories.
I have a servlet context listener and a handful of Stateless SessionBeans (in Groovy), and if I do a JBoss run (with 'make before run' checked) it does not deploy them because they are left out of the jar and war files inside the ear. If I do a Build->Rebuild Project before I hit run, all is well, and everything deploys properly.

I am not convinced that it isn't compiling the files, instead it appears to be a packaging issue in my case. In other words (and I will verify this somehow) I believe the groovy classes do get compiled on a make, just not packaged into the deployable products unless the whole thing is rebuilt.

0
Comment actions Permalink

That's another issue, and I will consult responsible developer if this is indeed the case and can be fixed from IDEA side.

Eugene.

0
Comment actions Permalink

That would be much appreciated. Having to rebuild every time is a nuisance in the least.

0
Comment actions Permalink

Unfortunately we were unable to reproduce this. Could you please email me (ven at jetbrains.com) a sample project where the problem manifests itself?

Eugene.

0
Comment actions Permalink

OK, finally we have fixed the problem. Please download the latest JetGroovy version for the fix.

0

Please sign in to leave a comment.