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)
  • JRuby
  • JRUBY-3539

Cannot run scripts in classpath (but not on filesystem) without using -r and a false -e argument

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Intro, Miscellaneous
  • Labels:
    None
  • Environment:
    trunk, windows vista, jdk 6 update 10

Description

Since a recent update, using the -r command line switch to require a file will block waiting for input from the console. This appears to be the correct behaviour.

Since this is now happening, the -r switch can no longer be used to run a script from the classpath, unless a 'fake' -e switch is used.

A possible solution would be for jruby to also search for the initial script in the classpath, instead of only looking in the filesystem.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Hiro Asari added a comment - 19/Dec/11 7:15 PM

Can you give us examples?

Show
Hiro Asari added a comment - 19/Dec/11 7:15 PM Can you give us examples?

People

  • Assignee:
    Unassigned
    Reporter:
    Ricardo Trindade
Vote (0)
Watch (1)

Dates

  • Created:
    30/Mar/09 6:55 AM
    Updated:
    19/Dec/11 7:15 PM
  • 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.