PR: MNG-1345 Submitted By: Edwin Punzalan Reviewed By: John Casey Applied Edwin's patch to create the resource-target directory if it doesn't exist. Thanks for the work, Edwin! Also, I modified this patch slightly per Jerome's suggestion, to fail with a message if outputDir.mkdirs() doesn't succeed. This is fine, since it's within the scope of !outputDir.exists().