Hi,

Basically my question here is: how do I tell the gwt dev mode web
container (jetty at the moment) to look for another web.xml filename
when dev mode starts.


Background:
When running a GWT module in a dev mode, you can specify a -war
argument to pass different war directories.
This makes it possible to have 1 project and have totally different
modules in there. That's nice, but it becomes a hassle to maintain if
you have shared resources between those modules.

I have 1 project with 1 module 'DISC', but I want it to start it in
different modes at the same time.
So I have 2 gwt.xml modules, and use a rename-to 'DISCDEBUG' to let
GWT differentiate.

The problem with rename-to is that I also need to adapt the web.xml
and specify the new name in it on the url-pattern of the servlet-
mappings (DISC/ becomes DISCDEBUG/)

So I would like to have 1 web.xml for the production module, and
another webdebug.xml for the debug mode.
though ideally: just 1 web.xml containing a property {gwt.modulename}
or something which is replaced at startup of the webcontainer. But
support for using runtime properties in the web.xml depends on the
container implementation.


workaround:
* create separate war directories:
not usable: I would need to copy my whole 'war' directory to another
'wardebug' directory and maintain both these directories on changes.




-- 
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.

Reply via email to