Ant task for generating the deployment web.xml based on GWT module def files

10 views
Skip to first unread message

Tom Hj

unread,
Apr 8, 2008, 4:22:09 PM4/8/08
to Google Web Toolkit
Has anyone written a custom Ant task or a standalone utility for
generating the web.xml file based on the <servlet> tags from the
gwt.xml module file(s)?

For hosted mode, the web.xml file is automatically generated - but
that file shouldn't be used for production deployment. We have a need
to generate the web.xml as part of our autobuild using Ant. It would
start with the entry-point .gwt.xml file and gather all the <servlet>
entries. Then it would check the modules referenced by <inherits> for
additional <servlet> entries combining them all into a single web.xml
for the entire webapp.

It doesn't sound hard to write this - but I wanted to check to see if
anyone has already done it and would be willing to share.

thanks,
Tom

Chii

unread,
Apr 9, 2008, 9:19:42 AM4/9/08
to Google Web Toolkit
i'd also be interested in a tool like this - but if there isnt an
opensource, i think it'd be high time to start one!

Chii

unread,
Apr 9, 2008, 9:26:57 AM4/9/08
to Google Web Toolkit
the closest thing i can find is this http://braindump.dk/tech/gwt-xdoclet/
to generate the web.xml file
Reply all
Reply to author
Forward
0 new messages