jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x War Plugin
  • MPWAR-34

parameterise overwrite of web.xml in war:war-resources

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.0
  • Fix Version/s: None
  • Labels:
    None

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

Issue Links

is duplicated by

Improvement - An improvement or enhancement to an existing feature or task. MPWAR-52 configurable overwrite of target web.xml with src web.xml

  • Major - Major loss of function.
  • Resolved - A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Stéphane Nicoll added a comment - 07/Jun/06 1:36 PM

Duplicate and fixed in 1.6.2

Show
Stéphane Nicoll added a comment - 07/Jun/06 1:36 PM Duplicate and fixed in 1.6.2

People

  • Assignee:
    Unassigned
    Reporter:
    Nathan Coast
Vote (0)
Watch (0)

Dates

  • Created:
    11/Oct/04 8:49 PM
    Updated:
    07/Jun/06 1:36 PM
    Resolved:
    07/Jun/06 1:36 PM

Time Tracking

Estimated:
5m
Original Estimate - 5 minutes
Remaining:
5m
Remaining Estimate - 5 minutes
Logged:
Not Specified
Time Spent - Not Specified
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.