From 31fa05599e8b569c35a3cc244b4acbc045897bf6 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Sun, 23 Sep 2012 20:12:26 -0700 Subject: [PATCH] added python3 runnable --- bin/python3-petstore.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/python3-petstore.sh diff --git a/bin/python3-petstore.sh b/bin/python3-petstore.sh new file mode 100755 index 00000000000..a0ecd6415ef --- /dev/null +++ b/bin/python3-petstore.sh @@ -0,0 +1,6 @@ +#!/bin/bash +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +export CLASSPATH="$DIR/../target/lib/*:$DIR/../target/*" +export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties" +scala $WORDNIK_OPTS $JAVA_CONFIG_OPTIONS -cp $CLASSPATH "$@" samples/client/petstore/python3/Python3PetstoreCodegen.scala http://petstore.swagger.wordnik.com/api/resources.json special-key