Thursday, February 6, 2014

ApiResourceProperty tag can not be compiled to GWT or ignored

Hi,

We have a GWT app that exposes an API using Google Cloud Endpoints. As we use objectify we can not expose the Key tag to the API. For that we use the ApiResourceProperty in order to make the API ignore the field, but if we do that the GWT compilation fails.

I have tried everything, from using the exclude from source in the gwt.xml to using the @gwtincompatible

So... is there a way to ignore the ApiResourceProperty.class in the GWT compilation?

Any other idea? If not I would have to duplicate my entities for the API

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment