TheProjecter / phantomjs-qunit-runner

Automatically exported from code.google.com/p/phantomjs-qunit-runner
0 stars 0 forks source link

generate-html fails #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run generate-html when target/ does not exist 

What is the expected output? What do you see instead?

I take it running generate-html afer clean is a legitimate use case, for 
instance, when wanting to create the qunit test page in a project without prior 
goals that create the target folder.

QunitHtmlWrapperMojo fails on line 176 when instantiating a new FileWriter. 
This goes back to line 85 where you have 
   new File(qUnitHtmlOutputPath).mkdir();
instead of
   new File(qUnitHtmlOutputPath).mkdirs();

What version of the product are you using? On what operating system?

1.0.15

Please provide any additional information below.

Kenny, many thanks for this very nice plugin!

Original issue reported on code.google.com by m.hild%e...@gtempaccount.com on 14 Feb 2013 at 2:19