Do not compile groovy files in classpath

Hi all,

I want to try groovy integration with Spring, so I've created one groovy bean.
But when I lauch the Java project, there is exeption thrown because the .groovy file does not exist.

That's true, there is the "compiled" .class but not the .groovy.

Is it possible to avoid the .groovy compilation, and just "put" the .groovy files in the classpath ?

Thank you

4 comments

As for now you can mark .groovy as resource to be copied by resource copying compiler,
in the future we plan to provide an option to either compile .groovy files or copy them.

Eugene.

0

Thanks for the information :)

Have a good day :)

0

Does this option has been added ? Or not yet ?

0

I'm afrait it wasn't. I've created appropriate issue in our bugtracker.

http://jetbrains.net/jira/browse/GRVY-1972

Ilya

0

Please sign in to leave a comment.