You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aaron Digulla (JIRA)" <ji...@codehaus.org> on 2007/04/17 17:13:46 UTC
[jira] Created: (MWAR-99) context.xml is not copied into war
anymore
context.xml is not copied into war anymore
------------------------------------------
Key: MWAR-99
URL: http://jira.codehaus.org/browse/MWAR-99
Project: Maven 2.x War Plugin
Issue Type: Bug
Affects Versions: 2.0.2
Reporter: Aaron Digulla
When I add this line to the config:
{code}
<containerConfigXML>${basedir}/webapp/META-INF/context.xml</containerConfigXML>
{code}
I can see that the plugin takes the parameter into account:
{code}
[DEBUG] (s) containerConfigXML = D:\workspace\GktGwt\webapp\META-INF\context.xml
{code}
but the resulting war file doesn't contain a context.xml file in META-INF/. I also don't see "adding entry " in the debug output so my guess is that something removes this entry.
I also cannot add this entry via dependentWarIncludes or webResources which suggests that there is an invisible filter which just trows all these items away.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MWAR-99) context.xml is not copied into war
anymore
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MWAR-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll updated MWAR-99:
--------------------------------
Fix Version/s: 2.1-alpha-2
> context.xml is not copied into war anymore
> ------------------------------------------
>
> Key: MWAR-99
> URL: http://jira.codehaus.org/browse/MWAR-99
> Project: Maven 2.x War Plugin
> Issue Type: Bug
> Affects Versions: 2.0.2
> Reporter: Aaron Digulla
> Fix For: 2.1-alpha-2
>
>
> When I add this line to the config:
> {code}
> <containerConfigXML>${basedir}/webapp/META-INF/context.xml</containerConfigXML>
> {code}
> I can see that the plugin takes the parameter into account:
> {code}
> [DEBUG] (s) containerConfigXML = D:\workspace\GktGwt\webapp\META-INF\context.xml
> {code}
> but the resulting war file doesn't contain a context.xml file in META-INF/. I also don't see "adding entry " in the debug output so my guess is that something removes this entry.
> I also cannot add this entry via dependentWarIncludes or webResources which suggests that there is an invisible filter which just trows all these items away.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MWAR-99) context.xml is not copied into war anymore
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MWAR-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll closed MWAR-99.
-------------------------------
Assignee: Stephane Nicoll
Resolution: Duplicate
Fix Version/s: (was: 2.1-alpha-2)
See duplicate issue.
> context.xml is not copied into war anymore
> ------------------------------------------
>
> Key: MWAR-99
> URL: http://jira.codehaus.org/browse/MWAR-99
> Project: Maven 2.x War Plugin
> Issue Type: Bug
> Affects Versions: 2.0.2
> Reporter: Aaron Digulla
> Assignee: Stephane Nicoll
>
> When I add this line to the config:
> {code}
> <containerConfigXML>${basedir}/webapp/META-INF/context.xml</containerConfigXML>
> {code}
> I can see that the plugin takes the parameter into account:
> {code}
> [DEBUG] (s) containerConfigXML = D:\workspace\GktGwt\webapp\META-INF\context.xml
> {code}
> but the resulting war file doesn't contain a context.xml file in META-INF/. I also don't see "adding entry " in the debug output so my guess is that something removes this entry.
> I also cannot add this entry via dependentWarIncludes or webResources which suggests that there is an invisible filter which just trows all these items away.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira