Hi, I've written a set of blog posts about code generation which are exploiting annoation to generate JS-Code and Java-Classes.
http://tomsondev.bestsolution.at/2010/01/05/background-to-qxwt-and-gwt-generator-integration/ http://tomsondev.bestsolution.at/2010/01/10/qxwt-explained-part-2/ http://tomsondev.bestsolution.at/2010/01/12/qxwt-explained-part-3/ http://tomsondev.bestsolution.at/2010/01/15/qxwt-explained-part-4/ It leverages: * GWT-Generator * GWT-Artifacts It is written about a project of myself but the general concepts can be applied to any other projects. Tom On Wed, Feb 3, 2010 at 11:11 AM, Harald Pehl <[email protected]> wrote: > You have to use deferred binding to generate your code. Take a look at > http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html > for further information. > > I'm using this in my XML mapper for GWT. If your interested the source > code is available under http://code.google.com/p/piriti/ > > HTH > Harald > > > On 3 Feb., 09:59, Miss Marie Ruana <[email protected]> wrote: >> I think it's possible because Gin (Google Guice Client side) use >> annotation but i can't figure how to do this! >> >> Anyone have an idea ? >> >> On 2 fév, 11:50, Miss Marie Ruana <[email protected]> wrote: >> >> >> >> > Hi all, >> >> > I would like to know if it's possible to generate code with an >> > annotation in client side before the GWT compilation ? >> >> > For example, if i have a POJO like this : >> >> > @MyAnnotation >> > public class MyPojo { >> > private String dummyAttribute; >> >> > } >> >> > I would like that "MyAnnotation" Annotation generate code before the >> > GWT compilation process. >> > Is this possible and which mechanism i need to use to do that ? >> >> > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
