web.xml overwriting

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

web.xml overwriting

Postby calinm » Tue Jan 16, 2007 4:36 pm

It would be great if the generated build.xml would allow me to handcode web.xml. This way I could regenerate the build.xml when I add to the classpath, but it would not overwrite my web.xml which is quite complex.
calinm
 
Posts: 6
Joined: Fri May 13, 2005 11:08 am
Location: Vancouver, BC, Canada

Re: web.xml overwriting

Postby Eric Clayberg » Fri Jan 19, 2007 12:14 pm

calinm wrote:It would be great if the generated build.xml would allow me to handcode web.xml. This way I could regenerate the build.xml when I add to the classpath, but it would not overwrite my web.xml which is quite complex.

We are looking into ways to better handle the web.xml file in the future.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby fredrikmh » Mon Apr 30, 2007 6:25 am

Hi Eric. When is this expected?

When creating a war file, I'd really like a file that I can put in tomcat's deploy dir and nothing more. Now I have to manually edit the generated web.xml each time I bundle the war file for deployment.

It could be as simple as having a template web.xml. gwt designer has its own "playground" in servlet and servlet-mapping and I can add whatever I need. Like this:

<?xml version="1.0" encoding="UTF-8"?>
<web-app>
<servlet>
[GWT Designer stuff goes here]
[My servlets]
</servlet>
<servlet-mapping>
[GWT Designer stuff goes here]
[My servlet mappings]
</servlet-mapping>
[My other web.xml configuration]
</web-app>

Sincerely,

Fredrik
fredrikmh
 
Posts: 1
Joined: Sun Apr 29, 2007 12:56 pm

Postby Eric Clayberg » Mon Apr 30, 2007 7:54 am

fredrikmh wrote:When is this expected?

This has been available for some time now with GWT Designer's new support for Web project creation and deployment.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests