Thomas, Thanks for the response. This is exactly what I was looking for.
In case someone comes looking, you've got: <define-configuration-property name="myPropertyName" is-multi- valued="true|false"/> to start, and <extend-configuration-property name="myPropertyName" value="myValue"/> to set the value. You can pull the values in through the PropertyOracle, which is on the GeneratorContext. Thanks everyone! E On Sep 19, 8:20 pm, Thomas Broyer <[email protected]> wrote: > On Sep 19, 6:09 am, Evan Ruff <[email protected]> wrote: > > > Hey guys, > > > I have a generator that I'd like to configure with some parameters in > > the gwt.xml file. Is there any way I can do that? If so, how does one > > go about defining them in the gwt.xml and then looking up the > > parameter in the generator? > > > If it isn't possible, is there a good way to do it otherwise? > > <set-configuration-property> (I can't remember if there's a <define- > configuration-property>) and in your generator > getConfigurationProperty(name) to retrieve the value. > You'll find examples of use in GWT (from memory, ClientBundle uses > some configuration properties) -- 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.
