On Monday, January 31, 2011 7:33:11 PM UTC+1, Jozef Môstka wrote: > > Hi all, > Pls help me with the following 2 problems. > > I generating the objects with generator. inside generator I need save > generated class name to global property. > After last generator was finish, I need save all this classNames to custom > file. > > So, > 1) How can I use some global property to save classNames, or how I can get > all generated classNames. >
Add an artifact to the generator context; use your own Artifact subtype. > 2) How can I detect when is last class generated, or how can I run some > method after GWT compiling. > Use a linker. Linker's are run after a permutation is compiled, and after all permutations have been compiled. From the linker, you can find() your generated artifacts in the ArtifactSet using your Artifact subtype's Class. -- 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.
