When using gwt-maven-plugin's generateAsync
, is it possible to apply an annotation (or something) to an individual gwt-rpc service so that the corresponding async isn't auto-generated and can be written manually?
Alternatively, is there an annotation (or something) that makes the generated asyncs have the "Request" return type?
From the gwt-maven-plugin's documentation you need to adjust the servicePattern
configuration property, or you can ask it to always generate methods returning Request
.
Or, even better, don't use this goal!
(or only call it manually once in a while and copy the generated classes to your sources)