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 103139 - Hyperlinking from rails generator does not work on windows
Summary: Hyperlinking from rails generator does not work on windows
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 14:16 UTC by Tomas Danek
Modified: 2007-07-03 14:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
output (2.37 KB, text/plain)
2007-05-03 11:57 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2007-05-02 14:16:50 UTC
NetBeans IDE 6.0 Preview (M9, build 070501)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
----------------------------------------------------------
steps to reproduce:
- create new RoR application (the same if you generate e.g. controller)
- none of the files is hyperlinked (this works on linux with nbrubyide 070502)
Comment 1 Tomas Danek 2007-05-02 14:30:51 UTC
sorry Jirko, i ment to put you on the CC:)

This is reproducible only when you switch to native ruby. If you leave default
jruby, files are hyperlinked.
Comment 2 Torbjorn Norbye 2007-05-02 17:29:35 UTC
Can you attach the complete output from running the generator on Windows? (Make sure all spaces etc. 
are preserved the way they were in the output).
Comment 3 Torbjorn Norbye 2007-05-02 17:54:02 UTC
If you have Cygwin, I'm looking for something like

mkdir tmp
cd tmp
/path/to/rails.exe Foo > create-log.txt

Send create-log.txt.

If you don't, I hope the copy action from the output window will give the output accurately.
Comment 4 Tomas Danek 2007-05-03 11:56:45 UTC
i do not have cygwin installed, but attaching output from 
C:\tmp>rails Foo > log.txt 
(it should be the same?!)
Comment 5 Tomas Danek 2007-05-03 11:57:36 UTC
Created attachment 42091 [details]
output
Comment 6 Torbjorn Norbye 2007-06-12 15:57:22 UTC
Thanks - I fixed this last night. On Windows, with native Ruby, there was an extra \r (from \r\n newlines) in the output seen by the output recognizer which 
the regular expression didn't account for.
Comment 7 Tomas Danek 2007-06-13 13:42:00 UTC
thanks, works now on win xp, verified.
Comment 8 Jiri Kovalsky 2007-07-03 13:57:55 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 9 Jiri Kovalsky 2007-07-03 14:41:52 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.