<commit_before>#
# Just some utilities for use in ecm development.
#

setopt rmstarsilent

HOME="/home/carlos"
ECM_WS="$HOME/totvs/ws"
ECM_JBOSS="$HOME/Public/ecm/JBoss-7.1.1"
ECM_PORT="8080"
VOLDEMORT=$ECM_WS/voldemort
ECM=$ECM_WS/ecm
INSTALLER="n"
DRY_CLEAN="n"

# fuckin aliases
alias ecmu=ecmup
alias ecmb=ecmbuild
alias ecmc=ecmclean
alias ecms=ecmstart
alias ecmo=ecmstop
alias ecmi=ecminstall
alias ecmri=ecmruninstall
alias ecm=ecmfull
alias se='MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=512m -DskipTests=true" ecm'  


# update ecm
ecmup() {
	echo "update all the things!"
	cd $VOLDEMORT && svn up
	cd $ECM && svn up
}

# build it!
ecmbuild() {
	echo "build? no problem sir..."
	cd $VOLDEMORT && mvncie && \
	cd $VOLDEMORT/social-ecm && \
	cd $VOLDEMORT/wcm && mvncie && \
	cd $ECM/wecmpackage && mvncie && \
	cd $VOLDEMORT/ecm && mvncie && \
	ecminstall
}

# gen installer or cp wars...
ecminstall() {
	case $@ in
	-*i*)
		INSTALLER=y
		;;
	esac	
  if [[ "$INSTALLER" == "y" ]]; then
  	echo "generating installer..."
    cd $VOLDEMORT/ecm/installer
          mvnci -am -Drun=installer -DLinux64=true -DappServer=jboss
  else
		echo "cpying wars..."
    cd $VOLDEMORT/ecm/build && mvnci && \
		cd $VOLDEMORT/wcm/build && mvnci && \
    cd $VOLDEMORT/social-ecm/build && mvnci
	fi
}
<commit_msg>new totvs build<commit_after>#
# Just some utilities for use in ecm development.
#
set -e
setopt rmstarsilent

HOME="/home/carlos"
ECM_WS="$HOME/totvs/ws"
ECM_JBOSS="$HOME/Public/ecm/JBoss-7.1.1"
ECM_PORT="8080"
VOLDEMORT=$ECM_WS/voldemort
ECM=$ECM_WS/ecm
INSTALLER="n"
DRY_CLEAN="n"

# fuckin aliases
alias ecmu=ecmup
alias ecmb=ecmbuild
alias ecmc=ecmclean
alias ecms=ecmstart
alias ecmo=ecmstop
alias ecmi=ecminstall
alias ecmri=ecmruninstall
alias ecm=ecmfull
alias se='MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=512m -DskipTests=true" ecm'  


# update ecm
ecmup() {
	echo "update all the things!"
	cd $VOLDEMORT && svn up
	cd $ECM && svn up
}

# build it!
ecmbuild() {
	echo "build? no problem sir..."
	cd $VOLDEMORT && mvncie && \
#	cd $VOLDEMORT/social-ecm && \
#	cd $VOLDEMORT/wcm && mvncie && \
	cd $ECM/wecmpackage && mvncie && \
	cd $VOLDEMORT/ecm && mvncie && \
	ecminstall
}

# gen installer or cp wars...
ecminstall() {
	case $@ in
	-*i*)
		INSTALLER=y
		;;
	esac	
  if [[ "$INSTALLER" == "y" ]]; then
  	echo "generating installer..."
    cd $VOLDEMORT/ecm/installer
          mvnci -am -Drun=installer -DLinux64=true -DappServer=jboss
  else
		echo "cpying wars..."
    cd $VOLDEMORT/ecm/build && mvnci && \
		cd $VOLDEMORT/wcm/build && mvnci && \
    cd $VOLDEMORT/social-ecm/build && mvnci
	fi
}

{'fraction_non_alphanumeric': 0.14980842911877396, 'fraction_numerical': 0.012260536398467433, 'mean_word_length': 3.7045045045045044, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6155201', 'n_tokens_mistral': 1221, 'n_tokens_neox': 1150, 'n_words': 244}