From 93b11410a914b5f698ca81dc1c78e7ca193f5822 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Tue, 25 Sep 2012 22:32:06 -0700 Subject: [PATCH] updated location for writing api invoker --- samples/client/petstore/scala/ScalaPetstoreCodegen.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/client/petstore/scala/ScalaPetstoreCodegen.scala b/samples/client/petstore/scala/ScalaPetstoreCodegen.scala index c6402c60ab8..51b10c79a82 100644 --- a/samples/client/petstore/scala/ScalaPetstoreCodegen.scala +++ b/samples/client/petstore/scala/ScalaPetstoreCodegen.scala @@ -35,7 +35,7 @@ object ScalaPetstoreCodegen extends BasicScalaGenerator { // supporting classes override def supportingFiles = List( - ("apiInvoker.mustache", "samples/client/petstore/scala/src/main/scala/com/wordnik/client", "ApiInvoker.scala"), + ("apiInvoker.mustache", destinationDir + java.io.File.separator + invokerPackage.get.replaceAll("\\.", java.io.File.separator) + java.io.File.separator, "ApiInvoker.scala"), ("pom.mustache", "samples/client/petstore/scala", "pom.xml") ) } \ No newline at end of file