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

cometd demo in Jetty 6.1.15 has hardcoded reference to ./target/cometd-demo-6.1-SNAPSHOT

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 6.1.16
  • Fix Version/s: 6.1.17
  • Component/s: Bayeux
  • Labels:
    None
  • Environment:
    Eclipse Ganymede, Sun Java 1.5, Fedora 10

Description

If I run the chat demo through maven, mvn jetty:run it works fine

If I try to import it into Eclipse and debug there, I run into
Exception in thread "main" java.lang.IllegalArgumentException: file:/home/ak/jetty-6.1.15/contrib/cometd/demo/target/cometd-demo-6.1-SNAPSHOT is not an existing directory.

This makes sense, at line 99 in CometdDemo.java there is indeed a hardcoded reference to -SNAPSHOT , replacing it with 6.1.15 solves the problem.

So if this is indeed an issue (not sure why mvn jetty:run works) , then it's probably because the script that replaces SNAPSHOT before a release does not get run on svn externals?

Thank you for great software

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Greg Wilkins added a comment - 29/Apr/09 8:44 PM

yes indeed.

This is a problem.... still trying to think of a way to get around this hack for the test harness.
I think I need some more mavin magic.

Show
Greg Wilkins added a comment - 29/Apr/09 8:44 PM yes indeed. This is a problem.... still trying to think of a way to get around this hack for the test harness. I think I need some more mavin magic.
Hide
Permalink
Greg Wilkins added a comment - 30/Apr/09 1:22 AM

partial half hearted not so great fix applied. will see how it goes

Show
Greg Wilkins added a comment - 30/Apr/09 1:22 AM partial half hearted not so great fix applied. will see how it goes

People

  • Assignee:
    Greg Wilkins
    Reporter:
    Arne Kepp
Vote (0)
Watch (0)

Dates

  • Created:
    14/Mar/09 8:57 AM
    Updated:
    30/Apr/09 1:22 AM
    Resolved:
    30/Apr/09 1:22 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.