diff --git a/examples/src/main/java/com/basistech/rosette/examples/README.md b/examples/src/main/java/com/basistech/rosette/examples/README.md index 3f08d8850..94db89978 100644 --- a/examples/src/main/java/com/basistech/rosette/examples/README.md +++ b/examples/src/main/java/com/basistech/rosette/examples/README.md @@ -13,5 +13,5 @@ git clone git@github.com:rosette-api/java.git cd java mvn install cd examples -mvn exec:java -Dexec.mainClass="com.basistech.rosette.examples.PingExample" -Drosette.api.key=$API_KEY +mvn exec:java -Dexec.mainClass="com.basistech.rosette.examples.PingExample" -Danalytics.api.key=$API_KEY ``` diff --git a/release/src/scripts/run_all_examples.sh b/release/src/scripts/run_all_examples.sh old mode 100644 new mode 100755 index 4cbe11838..1fb38168f --- a/release/src/scripts/run_all_examples.sh +++ b/release/src/scripts/run_all_examples.sh @@ -40,14 +40,14 @@ EOF OPTS="" if [ -n "$2" ]; then - OPTS="-Drosette.api.altUrl=$2" + OPTS="-Danalytics.api.altUrl=$2" fi for example in $examples; do if [ -n "$2" ]; then - java -Drosette.api.key=$key -Drosette.api.altUrl=$2 -cp rosette-api-examples.jar:lib/* $example + java -Danalytics.api.key=$key -Danalytics.api.altUrl=$2 -cp rosette-api-examples.jar:lib/* $example else - java -Drosette.api.key=$key -cp rosette-api-examples.jar:lib/* $example + java -Danalytics.api.key=$key -cp rosette-api-examples.jar:lib/* $example fi done