<commit_before>#!/bin/bash

# Test if the argument is executable and if then run it directly
if type "$1" &>/dev/null; then
  exec "$@"
fi

# Script that starts Jetty and sets Jetty specific system properties based on
# environment variables set for all runtime implementations.
if [ -z "$RUNTIME_DIR" ]; then
  echo "Error: Required environment variable RUNTIME_DIR is not set."
  exit 1
fi

# source the supported feature JVM arguments
source /setup-env.bash
  
# use generated fast cli:
cd /var/lib/jetty
# TODO remove when we upgrade to a newer GAE staging phase, see issue #308
sed -i -e '/^    "jar:file:/d' /app/WEB-INF/quickstart-web.xml
source /var/lib/jetty/jetty_cmd.sh<commit_msg>remove workaround. The latest Maven plugin now does the right thing.<commit_after>#!/bin/bash

# Test if the argument is executable and if then run it directly
if type "$1" &>/dev/null; then
  exec "$@"
fi

# Script that starts Jetty and sets Jetty specific system properties based on
# environment variables set for all runtime implementations.
if [ -z "$RUNTIME_DIR" ]; then
  echo "Error: Required environment variable RUNTIME_DIR is not set."
  exit 1
fi

# source the supported feature JVM arguments
source /setup-env.bash
  
# use generated fast cli:
cd /var/lib/jetty
source /var/lib/jetty/jetty_cmd.sh
{'fraction_non_alphanumeric': 0.08993082244427364, 'fraction_numerical': 0.005380476556495004, 'mean_word_length': 3.950570342205323, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6190519', 'n_tokens_mistral': 412, 'n_tokens_neox': 389, 'n_words': 170}