I'm using 2.0-beta26. On Feb 2, 2009, at 5:22 PM, Brian Cribbs wrote:
> What version of the plugin are you using? I'm pretty sure this got > fixed in beta26. > > On Mon, Feb 2, 2009 at 6:42 PM, Matt Raible <[email protected]> wrote: > > I have a ProxyServlet in my GWT project that allows me to call RESTful > services running on a different host and port. I'd like to have a > config.properties file in src/main/resources that contains the host/ > port information. I've got all this working. > > However, I'd like to allow developers to change the host/port locally. > In a normal Maven project, I can use variable names in my properties > file and filtering to replace the properties with those from pom.xml. > > pom.xml > -------------- > <properties> > <services.host>servername</services.host> > <services.port>8080</services.port> > </properties> > > config.properties > --------------------- > services.host=${services.host} > services.port=${services.port} > > This allows developers to override the property from the command line > or in their settings.xml. However, the GWT Plugin seems to read the > properties file from src/main/resources rather than target/classes. > > Is it possible to modify the plugin's configuration so the filtered > property file is read? > > Thanks, > > Matt > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" 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/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
