<commit_before>#!/bin/bash -e

APPNAME="designer"

export JAVA_HOME=/home/carsten/.hudson/tools/hudson.model.JDK/java_SDK_8u25/

cd /home/carsten/.hudson/jobs/ssp.$APPNAME.export.int/workspace/skysail.product.$APPNAME/generated/distributions/executable

#echo "Creating ZIP Archive"
cp $APPNAME.int.jar skysail.$APPNAME.jar

zip -r skysail.$APPNAME.zip ../../../config/int skysail.$APPNAME.jar
#zip -r skysail.$APPNAME.zip skysail.$APPNAME.jar

echo "copying skysail.$APPNAME.zip to public site"
cp skysail.$APPNAME.zip /var/www/skysail/products/$APPNAME/skysail.$APPNAME.int.zip
cp skysail.$APPNAME.jar /var/www/skysail/products/$APPNAME/skysail.$APPNAME.int.jar

mkdir -p /home/carsten/skysail/products/$APPNAME/int/bin
mkdir -p /home/carsten/skysail/products/$APPNAME/int/lib

echo "copying skysail.$APPNAME.jar to products directory"
cp skysail.$APPNAME.jar /home/carsten/skysail/products/$APPNAME/int/bin/skysail.$APPNAME.jar

echo "stopping $APPNAME service"
/home/carsten/skysail/products/$APPNAME/int/bin/$APPNAME_int stop

cd /home/carsten/.hudson/jobs/skysail.product.$APPNAME.export.int/workspace/skysail.product.$APPNAME
cp -r deployment/service/* /home/carsten/skysail/products/$APPNAME/int

# needed for $APPNAME functionality (to get access to the contained jars for compiling)
#unzip -o /home/carsten/skysail/products/$APPNAME/int/bin/skysail.$APPNAME.jar

#echo "getting config files for installation from svn"<commit_msg>designer int installation fixes<commit_after>#!/bin/bash -e

APPNAME="designer"

export JAVA_HOME=/home/carsten/.hudson/tools/hudson.model.JDK/java_SDK_8u25/

cd /home/carsten/.hudson/jobs/ssp.$APPNAME.export.int/workspace/skysail.product.$APPNAME/generated/distributions/executable

echo "Creating ZIP Archive"
cp $APPNAME.int.jar skysail.$APPNAME.jar

zip -r skysail.$APPNAME.zip ../../../config/int skysail.$APPNAME.jar
#zip -r skysail.$APPNAME.zip skysail.$APPNAME.jar

echo "copying skysail.$APPNAME.zip to public site"
cp skysail.$APPNAME.zip /var/www/skysail/products/$APPNAME/skysail.$APPNAME.int.zip
cp skysail.$APPNAME.jar /var/www/skysail/products/$APPNAME/skysail.$APPNAME.int.jar

mkdir -p /home/carsten/skysail/products/$APPNAME/int/bin
mkdir -p /home/carsten/skysail/products/$APPNAME/int/lib

echo "copying skysail.$APPNAME.jar to products directory"
cp skysail.$APPNAME.jar /home/carsten/skysail/products/$APPNAME/int/bin/skysail.$APPNAME.jar

echo "stopping $APPNAME service"
#/home/carsten/skysail/products/$APPNAME/int/bin/$APPNAME_int stop

cd /home/carsten/.hudson/jobs/skysail.product.$APPNAME.export.int/workspace/skysail.product.$APPNAME
cp -r deployment/service/* /home/carsten/skysail/products/$APPNAME/int

# needed for $APPNAME functionality (to get access to the contained jars for compiling)
#unzip -o /home/carsten/skysail/products/$APPNAME/int/bin/skysail.$APPNAME.jar

#echo "getting config files for installation from svn"
{'fraction_non_alphanumeric': 0.14226519337016574, 'fraction_numerical': 0.0020718232044198894, 'mean_word_length': 4.817269076305221, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, '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': '4329976', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1054, 'n_words': 174}