summaryrefslogtreecommitdiffstats
path: root/vespa-feed-client-cli/vespa-feed-client-dev.sh
blob: de5bf322b698b405733a4864ac647d9d358208e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env sh
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

# Resolve symlink (if any) and normalize path
program=$(readlink -f "$0")
program_dir=$(dirname "$program")

exec java \
-Djava.awt.headless=true \
-Xms128m -Xmx2048m \
-Djava.util.logging.config.file=$program_dir/src/main/resources/logging.properties \
-cp $program_dir/target/vespa-feed-client-cli-jar-with-dependencies.jar ai.vespa.feed.client.impl.CliClient "$@"