<commit_before>#!/bin/bash
# ******************************************
# **** Command file to invoke build.xml ****
# ******************************************
# Environment settings here...
DEBUG=-Denable.install.debug=false
TAG=-Danthill.build.tag_built=$USER

if [ "$2" = "debug" ]; then
   DEBUG="$DEBUG -debug"
fi
clear

if [ -z "$1" ]; then
    echo
    echo "Available targets are:"
    echo
    echo "  clean        -- Remove classes directory for clean build"
    echo "  all          -- Normal build of application"
    echo "  upgrade      -- Build and upgrade application"
    echo "  install      -- Builds, installs JBoss locally"
    echo "  deploy       -- Hot deploy application"
    echo "  jsp          -- Hot deploy JSP files"
    echo "  stop         -- Stop war file"
    echo "  start        -- Start war file"
    echo
    exit
fi

case $1 in

    clean)
        ant clean
        ;;
    *)
        echo "Invalid target $1"
        ;;
esac<commit_msg>Adding additional targets for Unix.<commit_after>#!/bin/bash
# ******************************************
# **** Command file to invoke build.xml ****
# ******************************************
# Environment settings here...
DEBUG=-Denable.install.debug=false
TAG=-Danthill.build.tag_built=$USER

if [ "$2" = "debug" ]; then
   DEBUG="$DEBUG -debug"
fi
clear

if [ -z "$1" ]; then
    echo
    echo "Available targets are:"
    echo
    echo "  clean        -- Remove classes directory for clean build"
    echo "  all          -- Normal build of application"
    echo "  upgrade      -- Build and upgrade application"
    echo "  install      -- Builds, installs JBoss locally"
    echo "  deploy       -- Hot deploy application"
    echo "  jsp          -- Hot deploy JSP files"
    echo
    exit
fi

case $1 in
    all)
        ant $TAG build:all
        ;;

    upgrade)
        ant $TAG $DEBUG deploy:local:upgrade
        ;;

    install)
        ant $TAG $DEBUG deploy:local:install
        ;;

    deploy)
        ant $TAG $DEBUG deploy:hot
        ;;

    jsp)
        ant $DEBUG deploy:hot:jsp
        ;;

    clean)
        ant clean
        ;;

    *)
        echo "Invalid target '$1'."
        ;;
esac
{'fraction_non_alphanumeric': 0.18185961713764814, 'fraction_numerical': 0.0036463081130355514, 'mean_word_length': 2.027586206896552, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1323819', 'n_tokens_mistral': 641, 'n_tokens_neox': 605, 'n_words': 196}