Closed jwueller closed 10 years ago
Correction: This is for GWT > 2.5.x.
Also fixes potential issue with multi-digit version components.
@jwueller What does this fix do? I use grails-gwt with GWT 2.6.0 and super dev mode all the time with no problems
@confile addGwtCoreToDependencies()
previously didn't add these dependencies for GWT > 2.5.x:
addDependency("com.google.gwt", "gwt-codeserver", version)
addDependency("org.json", "json", "20090211")
because of this version check:
if (version.startsWith("2.5")) {
causing the availability check for com.google.gwt.dev.codeserver.CodeServer
to fail. This, in turn, triggered the following false-negative:
Super Dev Mode only support in GWT 2.5.0 version
effectively breaking Super Dev Mode for everyone using GWT 2.6.0 or similar by refusing to start.
As to why you are not experiencing this problem: This issue would not occur if you manually added the codeserver to your classpath. Is that possibly what you are using in your setup?
I use an external GWT project which uses a Grails project as host project. So yes you are right I guess.
Super Dev Mode works with GWT > 2.5.0, but only 2.5.0 was allowed. A more generalized version check is used to ensure compatibility now and in future versions.