在Eclipse中编译Groovy文件 [英] Compile Groovy files in Eclipse
问题描述
我在Eclipse中安装了Groovy插件。在我的Windows机器上安装Groovy并设置GROOVY_HOME并在我的lib文件夹中包含groovyall jar文件。但没有运气。
请帮助。
使用 STS ,当仪表板打开时,点击扩展标签并点击Groovy语言功能并安装它。然后右键单击项目 - > Spring - >配置groovy自然也可以使用groovy。另外一个选项是创建一个新的Groovy项目,结果是你可以使用任何一个Groovy项目中的java文件,因为它们很好地结合在一起。
My java web project includes some Groovy code. But eclipse is not recognizing Groovy files and not generating any classes out of it. I have installed Groovy plugin in Eclipse. Installed Groovy in my windows machine and setup GROOVY_HOME and include groovyall jar file in my lib folder. But no luck.
Please help.
You could also use STS, when the dashboard opens up click on the "extensions" tab and click on the Groovy language feature and install it. Then right click on project, -> Spring -> configure groovy nature to use groovy also.
Another option is create a new Groovy project, the upshot is that you can use any java file within a groovy project since they are so well coupled.
这篇关于在Eclipse中编译Groovy文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!