File output cuts off at a certain point?
----------------------------------------

                 Key: JRUBY-2305
                 URL: http://jira.codehaus.org/browse/JRUBY-2305
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1RC2
         Environment: WinXP SP2
JDK 6 update 3
            Reporter: Adam Boyle
         Attachments: jruby_list.zip

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 [EMAIL PROTECTED] if I can provide further information.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to