Great!! I'll have a look. On Wed, Aug 27, 2008 at 3:58 AM, Charlie Collins <[EMAIL PROTECTED]>wrote:
> > That is already done. > > There are a few caveats though. > > First you can just put a file in src/main/webapp/META-INF/context.xml > that you want to end up as your context.xml and it will work for both > the shell and the war (I believe that still works, be good to check > though - it used to, but I haven't used a custom context for the shell > in a long time). > > Second, GWT-Maven has a "contextXml" configuration param you can use > JUST for the shell. Put a file somewhere in your source, then specify > it with contextXml, and it will become the ROOT.xml. The reason for > this specialness is that GWT embeds Tomcat 5.0.x - not 5.5.x or 6.0.x, > and the configs are different (and because many of us deploy to a > newer version that 5.0.x, you may have to have multiple context.xml > files - annoying, but true). > > > On Aug 25, 12:12 pm, javapda <[EMAIL PROTECTED]> wrote: > > To use a custom context.xml in a webapp, I believe, requires the > > author to place it in the following place on the deployed war: > > > > + META-INF > > --- context.xml > > > > To use this in the gwt:gwt (or gwt:debug) setting you need to run the > > mvn gwt:gwt once to create the tomcat directory structure in your > > project area. > > > > Then it is necessary to create a file called ROOT.xml and place this > > in: > > > > + target > > ---+ tomcat > > ---+ conf > > ---+ gwt > > ---+ localhost > > --- ROOT.xml > > > > Q: Would it make sense to create a new attribute(?) [akin to > > mergewebxml] for the gwt:gwt goal which copies and does some > > modification of a context.xml located elsewhere in your project? > > > > Thanks, > > > > javapda > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
