Вопрос

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

Это было полезно?

Решение

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

Другие советы

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top