fixing replaceAll bug on windows with escaping paths, changed replaceAll() to replace()

This commit is contained in:
Danny Gershman
2013-05-30 15:35:47 -04:00
parent 154b2fdeca
commit e9fa4434f2
8 changed files with 17 additions and 17 deletions

View File

@@ -35,6 +35,6 @@ object ScalaWordnikApiCodegen extends BasicScalaGenerator {
// supporting classes
override def supportingFiles = List(
("apiInvoker.mustache", destinationDir + "/" + invokerPackage.get.replaceAll("\\.", java.io.File.separator), "ApiInvoker.scala"),
("apiInvoker.mustache", destinationDir + "/" + invokerPackage.get.replace(".", java.io.File.separator), "ApiInvoker.scala"),
("pom.mustache", destinationRoot, "pom.xml"))
}