cucumber/cucumber-jvm — pull request #411 by joelbyrnes (2012-10-25 07:07:10+00:00)
Title: FormatterFactory creates output file path, issue #405

As described in https://github.com/cucumber/cucumber-jvm/issues/405 this patch defensively creates the formatter file output path before instantiating the formatter class, mainly to protect against JSONFormatter failing because the path doesn't exist. it will also throw an exception if it is unable to create the path, such as an invalid path or insufficient permissions.

Further, I fixed a bug around conflicts with CRLF/LF linefeeds (wiindows vs *nix) which occurred on my pc. If this fails on linux, it indicates a larger problem. See the commit messages for more info.

Thanks
Joel