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 Ear Plugin
  • MPEAR-38

maven.ear.appxml is not used correctly

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 1.6
  • Fix Version/s: 1.6
  • Labels:
    None
  • Environment:
    Maven 1.0.2, Windows XP, jdk 1.4.2_04

Description

Plugin does not use ${maven.ear.appxml} file if ${maven.ear.src}/META-INF/application.xml does not exist

This is taken from the plugin code :

<util:available file="${maven.ear.src}/META-INF/application.xml">
<ant:copy file="${maven.ear.appxml}" tofile="${finalAppxml}"/>
</util:available>

it should be :

<util:available file="${maven.ear.appxml}">
<ant:copy file="${maven.ear.appxml}" tofile="${finalAppxml}"/>
</util:available>

Thanks

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Felipe Leme added a comment - 11/Mar/05 5:53 AM

This code was already changed when fixing MPEAR-24:

  1. svn diff -r 116236 plugin.jelly
    <!-==================================================================->
    @@ -63,19 +65,19 @@
    <attainGoal name="ear:generate-ear-descriptor"/>
    </j:when>
    <j:otherwise>
  • <util:available file="${maven.ear.src}/META-INF/application.xml">
    + <util:available file="${maven.ear.appxml}">
    <ant:copy file="${maven.ear.appxml}" tofile="${finalAppxml}"/>
    </util:available>
    </j:otherwise>
    </j:choose>
Show
Felipe Leme added a comment - 11/Mar/05 5:53 AM This code was already changed when fixing MPEAR-24:
  1. svn diff -r 116236 plugin.jelly <!-==================================================================-> @@ -63,19 +65,19 @@ <attainGoal name="ear:generate-ear-descriptor"/> </j:when> <j:otherwise>
  • <util:available file="${maven.ear.src}/META-INF/application.xml"> + <util:available file="${maven.ear.appxml}"> <ant:copy file="${maven.ear.appxml}" tofile="${finalAppxml}"/> </util:available> </j:otherwise> </j:choose>
Hide
Permalink
Felipe Leme added a comment - 11/Mar/05 5:53 AM

Reopening because I closed with the wrong resolution...

Show
Felipe Leme added a comment - 11/Mar/05 5:53 AM Reopening because I closed with the wrong resolution...

People

  • Assignee:
    Felipe Leme
    Reporter:
    Denis Dallaire
Vote (0)
Watch (0)

Dates

  • Created:
    31/Jan/05 4:19 PM
    Updated:
    11/Mar/05 5:54 AM
    Resolved:
    11/Mar/05 5:54 AM

Time Tracking

Estimated:
1m
Original Estimate - 1 minute
Remaining:
1m
Remaining Estimate - 1 minute
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.