[jetty-dev] [jira] (JETTY-1516) Jetty mavn plugin run-forked doesn't respect configuration set using file from contextXml option

"Jan Bartel (JIRA)" <[email protected]> Tue, 22 May 2012 11:10:21 -0500 (CDT)
Newsgroups gmane.comp.java.jetty.general
Message-ID <93594781.970.1337703021948.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
Jan Bartel
commented on JETTY-1516

Jetty mavn plugin run-forked doesn't respect configuration set using file from contextXml option

Stepan,

I've added a new parameter to allow you to specify multiple resource bases for a webapp. You use it like this:

<resourceDirs>

<resourceDir>${basedir}/foo1</resourceDir>

<resourceDir>${basedir}/foo2</resourceDir>

</resourceDirs>

I'm still considering whether to change the behaviour of the context.xml file - currently it does NOT override as you noted. The jetty:run mojo DOES allow it to override, but that is accidental rather than desirable - as the <webApp> that is being configured in that case is the WebAppContext itself and constructed by maven, it is not possible to apply the context xml file before the instance is created.

Jan

This message is automatically generated by JIRA.

If you think it was sent incorrectly, please contact your JIRA administrators .

For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email