Fixed issue in configuring output path for supporting files.

This commit is contained in:
ramesh 2013-01-03 14:27:17 -08:00
parent 7370354535
commit fe30ed3580

View File

@ -505,7 +505,7 @@ class Codegen(config: CodegenConfig) {
val outputDir = file._2
val destFile = file._3
val outputFilename = outputDir.replaceAll("\\.", File.separator) + File.separator + destFile
val outputFilename = outputDir + File.separator + destFile
val outputFolder = new File(outputFilename).getParent
new File(outputFolder).mkdirs