简体   繁体   中英

ggts, new groovy compiler version not available to project after installing for workspace

Using GGTS 3.6.4

Just installed Groovy 2.4.1, and it shows up under Window=>Preferences; Groovy=>Compiler, and I see: "You are currently using Groovy Compiler version 2.4.1."

However, when I go to Project=>Properties; Groovy Compiler, I see only these 4 options under "Groovy compile level for project XxxxYyyyyZzzz":

  • I don't care
  • 2.1
  • 2.3
  • unspecified

I want to be able to designate 2.4 as the Groovy Compiler version for the project, but it's not there to pick! I've stopped/started GGTS, to no avail. What can I do?

Try changing the file .settings/org.eclipse.jdt.groovy.core.prefs wherever your workspace is for that project.

set it to:

groovy.compiler.level=24

stop/start and see if that works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM