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)
  • Jetty
  • JETTY-409

The jettyEnvXml should be a File parameter or prefixed with basedir to work in a context where current working directory is not where pom.xml is

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 6.1.5
  • Fix Version/s: 6.1.6rc1
  • Component/s: Maven
  • Labels:
    None

Description

If I have

<configuration>
  ..
  <jettyEnvXml>src/test/jetty-env.xml</jettyEnvXml>
</configuration>

and run Maven like this:

mvn -f myapp-web/pom.xml jetty:run

it tries to load "src/test/jetty-env.xml" instead of "myapp-web/src/test/jetty-env.xml".

Technically all that the plugin has to do it to change the jettyEnvXml field to be a File or prefix with ${basedir}

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    plugin-classpath-resource.patch
    03/Jan/08 4:45 AM
    2 kB
    David Yu

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Leopoldo Agdeppa III added a comment - 09/Aug/07 12:55 AM

Trygve Laugstol

jettyEnvXml should be a file, ill make the fix for this

thanks
bong

Show
Leopoldo Agdeppa III added a comment - 09/Aug/07 12:55 AM Trygve Laugstol jettyEnvXml should be a file, ill make the fix for this thanks bong
Hide
Permalink
Jan Bartel added a comment - 21/Oct/07 11:09 PM

David,

Can you also check and fix webXml and other parameters that denote files?

thanks,
Jan

Show
Jan Bartel added a comment - 21/Oct/07 11:09 PM David, Can you also check and fix webXml and other parameters that denote files? thanks, Jan
Hide
Permalink
David Yu added a comment - 22/Oct/07 3:23 AM

Attached the fix for this issue.
Tested with webXml, jettyEnvXml and jettyConfig.

Show
David Yu added a comment - 22/Oct/07 3:23 AM Attached the fix for this issue. Tested with webXml, jettyEnvXml and jettyConfig.
Hide
Permalink
David Yu added a comment - 03/Jan/08 6:26 AM

plugin-config-resources.patch attached.
File/Classpath resource params:

  • webXml
  • jettyEnvXml
  • webDefaultXml
  • overrideWebXml
Show
David Yu added a comment - 03/Jan/08 6:26 AM plugin-config-resources.patch attached. File/Classpath resource params:
  • webXml
  • jettyEnvXml
  • webDefaultXml
  • overrideWebXml

People

  • Assignee:
    David Yu
    Reporter:
    Trygve Laugstol
Vote (0)
Watch (0)

Dates

  • Created:
    03/Aug/07 5:29 AM
    Updated:
    03/Jan/08 6:28 AM
    Resolved:
    23/Oct/07 12:08 AM
  • 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.