Skip to content

Commit

Permalink
Few more rebranding updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
seth-mg committed Nov 5, 2024
1 parent 753ada0 commit 17021f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ git clone [email protected]: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
```
6 changes: 3 additions & 3 deletions release/src/scripts/run_all_examples.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 17021f5

Please sign in to comment.