The report files are created by FilePrintStreamFactory.createPrintStream(), which is called when the respective Format is processed in StoryReporterBuilder
the main problem is finding the point where the PrintStream could be closed and then finding the PrintStreams that should actually be closed.
I started trying to implement a close() method for each StoryReporter that takes care of closing the PrintStream and passing the close call to the delegate reporter etc. This does not yet work correctly, until now I can close the Before and After report files.

However the report files are still open, so they are apparently opened later in the code again and these streams are not closed either (i.e. each open file is leaked more than once). I haven't found out where this happens yet.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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