You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/12 02:49:24 UTC

[jira] Created: (MPWAR-34) parameterise overwrite of web.xml in war:war-resources

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPWAR-34

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPWAR-34
    Summary: parameterise overwrite of web.xml in war:war-resources
       Type: Improvement

     Status: Unassigned
   Priority: Minor

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: maven-war-plugin
   Versions:
             1.0

   Assignee: 
   Reporter: Nathan Coast

    Created: Mon, 11 Oct 2004 8:49 PM
    Updated: Mon, 11 Oct 2004 8:49 PM

Description:
We have a plugin that modifies the web.xml, as an optimisation we don't have to perform this modification on every build.  However, the war:war-resources forces the copy of the web.xml file, so our plugin has to modify the web.xml every time.

    <util:available file="${maven.war.webxml}">
      <ant:copy file="${maven.war.webxml}"
        tofile="${webapp.build.webinf}/web.xml"
        overwrite="true" />
    </util:available>

how about parameterise? with default true.

    <util:available file="${maven.war.webxml}">
      <ant:copy file="${maven.war.webxml}"
        tofile="${webapp.build.webinf}/web.xml"
        overwrite="${war.web.xml.overwrite}" />
    </util:available>

I can make patches if needed. nathan@codeczar.com



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org