This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 114219 - AutoTest in JRuby doesn't work
Summary: AutoTest in JRuby doesn't work
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Testing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL: http://jira.codehaus.org/browse/JRUBY...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-30 10:46 UTC by Jiri Skrivanek
Modified: 2011-12-12 13:19 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-08-30 10:46:24 UTC
AutoTest fails if JRuby is default interpreter. To reproduce:

- install Zentest gem
- create RubyWebLog sample
- click 'Auto Test' on project node context menu and the following exception appears:

loading autotest/rails
D:\Development\builds\nbrubyide\ruby1\jruby-1.0.1\bin\jruby.bat -I.;lib;test -rtest/unit -e
"%w[test/functional/blog1_controller_test.rb test/functional/blog_controller_test.rb test/unit/post_test.rb].each { |f|
require f }" | unit_diff -u
invalid option: -u

Product Version: NetBeans Ruby IDE 070829 Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP
version 5.1 running on x86; Cp1250; cs_CZ (nbrubyide) Userdir: D:\Development\builds\nbrubyideUserdir
Comment 1 Martin Krauskopf 2007-10-16 15:07:21 UTC
I've filed: http://jira.codehaus.org/browse/JRUBY-1442

Changing to TASK for the case we need to workaround (I'm notified about the progress of JRuby issue)
Comment 2 Martin Krauskopf 2007-11-02 12:47:31 UTC
The JRuby issues was not fixed for 1.0.2 -> FUTURE
Comment 3 Martin Krauskopf 2008-07-03 16:49:49 UTC
JRuby issue was fixed. Closing.