From a0b0e7bcb74d22fc86c581a4e0228b053d0aec09 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Wed, 26 Sep 2012 22:16:41 -0700 Subject: [PATCH] added wordnik api script --- bin/objc-wordnik-api.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/objc-wordnik-api.sh diff --git a/bin/objc-wordnik-api.sh b/bin/objc-wordnik-api.sh new file mode 100755 index 00000000000..ed86adcc0de --- /dev/null +++ b/bin/objc-wordnik-api.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 -DfileMap=samples/client/wordnik-api/spec-files" +scala $WORDNIK_OPTS $JAVA_CONFIG_OPTIONS -cp $CLASSPATH "$@" samples/client/wordnik-api/objc/ObjcWordnikApiCodegen.scala http://api.wordnik.com/v4/resources.json