idea 9 is not compiling the groovy classes

Hi All,

I am having licence of idea and a regular user of idea from lat few years.

I am trying to open my java project in idea 9 with all the same settings. But my groovy files are not compiling in idea 9.
I have also added groovy jar files in my classpath and also tried with grails. But groovy files are not compiling.

There is also no groov facet may b that is causing the problem.

Please suggest any idea.


Regards,
Khushwinder.

12 comments
Comment actions Permalink

Is there no one to answer?

Thanks.

0
Comment actions Permalink

Hello khushwinder,

Please make sure that you have the Groovy plugin enabled in Settings | Plugins.

Hi All,

I am having licence of idea and a regular user of idea from lat few
years.

I am trying to open my java project in idea 9 with all the same
settings. But my groovy files are not compiling in idea 9.

I have also added groovy jar files in my classpath and also tried with
grails. But groovy files are not compiling.

There is also no groov facet may b that is causing the problem.

Please suggest any idea.

Regards,
Khushwinder.
---
Original message URL:
http://www.jetbrains.net/devnet/message/5254353#5254353

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hello Dmitry,

Many thanks to your reply.

In my plugins i am having two groovy plugins intalled already:
1) JetGroovy
2) Inspector groovy

Is there any other plugin i need to have? Please sugges me.

I am attaching picture of my project settings for groovy.

Please find the attachment.

Thanks once again.

0
Comment actions Permalink

Hello Dmitry,

I am still waiting for your reply.

Please suggest any idea.

-Khush.

0
Comment actions Permalink

Hello khushwinder,

Please uninstall InspectorGroovy. This is an old plugin that isn't compatible
with the latest version of the bundled Groovy support, and all of its features
are included in JetGroovy.

Hello Dmitry,

I am still waiting for your reply.

Please suggest any idea.

-Khush.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5254555#5254555

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hello Dmitry,

Even after uninstalling InspectorGroovy i am not able to compile the groovy classes.

Thanks.

0
Comment actions Permalink

I have the same problem, but only in a project converted from IDEA 8 to IDEA 9. I created a project from scratch which works fine.

I have a folder with mixed java and groovy sources. Compiling the groovy files only copies them to the output folder, but does not compile them. Even if the groovy file is empty or has garbage it gets "compiled".
                        
The compile output says "Compilation completed successfully".

Tried with both Groovy 1.7.0 and 1.6.2.

0
Comment actions Permalink

Please check Settings | Compiler | Resource patterns. Please ensure that
it doesn't include .groovy explicitly or implicitly (e.g. !.java).

0
Comment actions Permalink

What exactly do you mean by 'unable to compile'? Do you have compilation
errors? Are these files just copied to the output?

0
Comment actions Permalink

no groovy in resource patterns.

0
Comment actions Permalink

Could you copy the complete resource pattern string here?
Does your module have Groovy library in it? Which Groovy version is it? Which jars does it have?

0
Comment actions Permalink

The resource pattern string included *.* , therefore this problem. Sorry for the trouble!

0

Please sign in to leave a comment.