How to use groovy inside an Eclipse RCP project?

I have an Eclipse RCP project and I want to use Groovy inside it. what I'm trying to do:
1) add "Groovy Nature"
2) create Groovy files in the "src" folder
3) call the Groovy class from the "View" createPartControl () method.

But I got "java.lang.ClassNotFoundException: fly.island.jface.Test", and "fly.island.jface.Test" is the Groovy class.

What should I do to use Groovy inside an Eclipse RCP project?

+3
source share
2 answers

Groovy -Eclipse 2.1.0 ( dev). :

http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.6/

, groovy PDE. :

http://contraptionsforprogramming.blogspot.com/2010/08/groovy-pde-redux.html

, org.codehaus.groovy rcp, build.properties groovy ( ).

+4

eclipse (3.6) groovy? Java groovy, ( , ). , , , .

0

Source: https://habr.com/ru/post/1777273/


All Articles