From 8bd7111bda74f2c77beccb194e4d87dd395ffb04 Mon Sep 17 00:00:00 2001 From: Deepak Michael Date: Tue, 2 Aug 2011 09:32:13 +0530 Subject: [PATCH] Swagger-codegen: renaming input parameter for output directory and default test runner task --- code-gen/build.xml | 17 +++++++++-------- code-gen/conf/java/structure/build.xml | 25 ++++++++++++------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/code-gen/build.xml b/code-gen/build.xml index 80168db77c..46a628a144 100644 --- a/code-gen/build.xml +++ b/code-gen/build.xml @@ -17,27 +17,28 @@ - + - Must specify the parameters: outputPath and apiServerRootDir eg. -DoutputPath=../../api-server-lib/java/src/main/java/com/wordnik/ + Must specify the parameters: outputDir and apiServerRootDir eg. -DoutputDir=../../api-server-lib/java/src/main/java/com/wordnik/ -DapiServerRootDir=../../api-server-lib/java/ - These are the output path of the Apis and the root directory that will be created for the api server (directory where structure is created) + These are the output path of the Apis + and the root directory that will be created for the api server (directory where artifacts like build.xml and other contents from the structure are created) - - + + - outputPath for Api = ${outputPath} + outputDir for Api = ${outputDir} apiServerRootDir = ${apiServerRootDir} - + @@ -46,7 +47,7 @@ - + diff --git a/code-gen/conf/java/structure/build.xml b/code-gen/conf/java/structure/build.xml index af23a0a1d3..e27f476dd1 100644 --- a/code-gen/conf/java/structure/build.xml +++ b/code-gen/conf/java/structure/build.xml @@ -3,24 +3,22 @@ - - - - - - - - - - - - + + + + + + + + + + + @@ -32,6 +30,7 @@ +