ArcBees / GWTP

A complete model-view-presenter framework to simplify your next GWT project.
Other
335 stars 132 forks source link

Add a fallback generator to overcome when the generated gin module is created too late #695

Closed Chris-V closed 9 years ago

Chris-V commented 9 years ago

Resolve #614, #650

This PR is a workaround so that generated resources can be used when the underlying GIN module is generated after GIN generators run.

Because of how GWT generators work with assignable types, using this workaround requires resources to extend com.gwtplatform.dispatch.rest.client.annotations.Resource. Projects that can use the generated GIN module (usually those using the generated entry point and ginjector from MvpWithEntryPoint) don't need to do this.

I'm thinking more and more about apt... Even if it means losing gwt code-gen tools.

meriouma commented 9 years ago

LGTM

christiangoudreau commented 9 years ago

We'll have to move to it anyhow at some point.