You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alex Karasulu (JIRA)" <ji...@codehaus.org> on 2008/08/10 06:37:28 UTC

[jira] Commented: (MWAR-165) Finiky filter include expressions to filter web.xml

    [ http://jira.codehaus.org/browse/MWAR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144617#action_144617 ] 

Alex Karasulu commented on MWAR-165:
------------------------------------

oops last line meant to say **/*.xml

> Finiky filter include expressions to filter web.xml 
> ----------------------------------------------------
>
>                 Key: MWAR-165
>                 URL: http://jira.codehaus.org/browse/MWAR-165
>             Project: Maven 2.x War Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1-alpha-1
>         Environment: Ubuntu 8.04 Linux, JDK 1.6_07
>            Reporter: Alex Karasulu
>
> Include expressions which directly reference the WEB-INF in <directory> tag does not match the web.xml file to filter it.  If you go one step up and then wild card down for XML files it works.  For example this did not work:
>               <directory>src/main/webapp/WEB-INF</directory>
>               <includes>
>                 <include>web.xml</include>
>               </includes>
> The following include pattern variations do not work either:
>    *.xml
>    **/*.xml
>    */*.xml
>    */web.xml
>    **/web.xml
> But this does work:
>               <directory>src/main/webapp</directory>
>               <includes>
>                 <include>**/web.xml</include>
>               </includes>
> as well as **/*.xml etc.  

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