Pergunta

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

Foi útil?

Solução

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

Outras dicas

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top