Closed Chris-V closed 10 years ago
It's weird, this error should not appear unless you use the PromiseRF class.
the error appears because they compile with the "-strict" option.
I've just created a new project with gwtquery and it's works fine but when I compile with the "-strict" option I get the error.
maybe we can move PromiseRF to 'com.google.web.bindery.requestfactory.shared' namespace so as people using RF can use the clase, other option would be create a c.g.g.q,rf namespace in gquery and a new gwt.xml file. I prefer first one.
I vote for the first one
On Mon, Nov 25, 2013 at 12:12 PM, Manuel Carrasco notifications@github.comwrote:
maybe we can move PromiseRF to 'com.google.web.bindery.requestfactory.shared' namespace so as people using RF can use the clase, other option would be create a c.g.g.q,rf namespace in gquery and a new gwt.xml file. I prefer first one.
— Reply to this email directly or view it on GitHubhttps://github.com/gwtquery/gwtquery/issues/237#issuecomment-29193695 .
The GWT compiler documentation says "-strict Only succeed if no input files have errors".
Do you know what are the "errors" in gwtquery which prevent it from being successfully compiled with -strict? And how hard is it to fix them?
Have you considered going this route?
@panamik we fix the issue by moving PromiseRF
to com.google.web.bindery.requestfactory.shared
done
Using the latest snapshot, I can't compile my application unless I add
<inherits name='com.google.web.bindery.requestfactory.RequestFactory' />
to my gwt module. This should be added to the GQuery module (or optional unless I want to use RequestFactory?).