<commit_before>#!/bin/bash -e

if [ "$1" == "-rebuild" ];
then
 shift
else
 BUILD=`date -u +I%Y%m%d-%H00`
 sed -e s/QUALIFIER=.*/QUALIFIER=$BUILD/ -i~ local.sh
fi

BUILD_ROOT=$(cd $(dirname $0); pwd)

rm -R $BUILD_ROOT/3.3/build || true
rm -R $BUILD_ROOT/3.4/build || true

$BUILD_ROOT/build-3.3.sh $*
$BUILD_ROOT/build-3.4.sh $*

source $BUILD_ROOT/local.sh

pack() {
$JAVA_HOME/bin/java \
 -Xmx512m \
 -jar $ECLIPSE_HOME_3_4/plugins/org.eclipse.equinox.launcher_*.jar \
 -application org.eclipse.update.core.siteOptimizer \
 -jarProcessor -verbose -processAll -repack -pack \
 -outputDir $1 $1  <commit_msg>NEW - bug 243221: [releng] build using org.eclipse.mylyn.releng/build.sh fails https://bugs.eclipse.org/bugs/show_bug.cgi?id=243221<commit_after>#!/bin/bash -e

if [ "$1" == "-rebuild" ];
then
 shift
else
 BUILD=`date -u +I%Y%m%d-%H00`
 sed -e s/QUALIFIER=.*/QUALIFIER=$BUILD/ -i~ local.sh
fi

BUILD_ROOT=$(cd $(dirname $0); pwd)

chmod 755 $BUILD_ROOT/*.sh

rm -R $BUILD_ROOT/3.3/build || true
rm -R $BUILD_ROOT/3.4/build || true

$BUILD_ROOT/build-3.3.sh $*
$BUILD_ROOT/build-3.4.sh $*

source $BUILD_ROOT/local.sh

pack() {
$JAVA_HOME/bin/java \
 -Xmx512m \
 -jar $ECLIPSE_HOME_3_4/plugins/org.eclipse.equinox.launcher_*.jar \
 -application org.eclipse.update.core.siteOptimizer \
 -jarProcessor -verbose -processAll -repack -pack \
 -outputDir $1 $1  
{'fraction_non_alphanumeric': 0.18548387096774194, 'fraction_numerical': 0.038856304985337244, 'mean_word_length': 3.6271186440677967, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5981076', 'n_tokens_mistral': 619, 'n_tokens_neox': 586, 'n_words': 107}