Question

I want to add a node into web.xml.
I tried to use a webxml grails plugin, but look like it can't manage nodes. Any help or example will be apreciated...

Was it helpful?

Solution

You can use your own web.xml, with any content you want. Run

> grails install-templates

and edit /src/templates/war/web.xml file (it's a template, so don't remove existing Grails code)

See http://grails.org/doc/latest/ref/Command%20Line/install-templates.html

OTHER TIPS

I'm not able to add comments yet, so here it goes.

By looking at your last comment, I suppose that you were looking for grails:exec:

mvn grails:exec -Dcommand=install-templates

Many Grails commands don't have the equivalent wrapper exposed directly through Maven.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top