History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRUBY-2305
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Adam Boyle
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JRuby

File output cuts off at a certain point?

Created: 20/Mar/08 03:04 PM   Updated: 20/Mar/08 03:04 PM
Component/s: Core Classes/Modules
Affects Version/s: JRuby 1.1RC2
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive jruby_list.zip (86 kb)

Environment:
WinXP SP2
JDK 6 update 3

Testcase included: yes


 Description  « Hide
I have a script that outputs a list of files and directories for use in an NSIS script (the Nullsoft Scriptable Install System). The output file is created using a module I wrote called Dualog which allows output to be displayed on the screen and simultaneously written to a file.

When using RC2 and RC3 the file list is cut off for some reason just before the end (as shown in the file.list.rc2 and rc3 examples). The data displays on the screen, but is not written to the file.

I found that JRuby 1.0.3 and 1.1RC1 correctly write all lines to the output file, but 1.1RC2 and 1.1RC3 truncate the file using the same behavior (see examples). Just to make it easy, I used the JRuby 1.0.3 folder for my examples.

Although I haven't investigated much, it seems that the folder structure being traversed may have something to do with the issue, but that's just a guess. The reason I think that is because when I added additional files to the directories being traversed, the output file still got cut off at the same line of data, not the same line number.

Please email me at briefcase.speakers@gmail.com if I can provide further information.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.