# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at
java.lang.NullPointerException # http://www.apache.org/licenses/LICENSE-2.0
java.lang.NullPointerException # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License.
if [ -z $repository && -n $1 ]; then
repository = $1
fi
if [ -z $action && -n $2]; then
action = $2
fi
if [ -z $push_username && -n $3 ]; then
push_username = $3
fi
if [ -z $push_password && -n $4 ]; then
push_password = $4
fi
testmodule() {
ant -f $1/build.xml test -Dtest-unit-sys-prop.ignore.random.failures=true
}
if [ "$action" = "build" ]; then # hg fetch http://hg.netbeans.org/main || exit 1 # hg pull http://hg.netbeans.org/main || exit 1 # if [ `hg heads --template'{node|short}\n' | wc -l` = 1 ] # then # hg up || exit6 # else # hg merge || exit7 # hg ci -m 'Automated merge' || exit8 # fi
ant build || exit2
ant commit-validation # || exit3
testmodule openide.util || exit4
testmodule openide.modules || exit4
testmodule openide.filesystems || exit4 # masterfs is currently broken, Radek wants me to disable it until 6.1M2: # ant -f masterfs|| exit4
testmodule openide.nodes|| exit4
testmodule openide.options || exit4
testmodule openide.dialogs || exit4
testmodule openide.awt || exit4
testmodule openide.windows || exit4
testmodule core.startup # || exit4 # testmodule openide.io || exit4 if [ `hg out --template'{node|short}\n' http://hg.netbeans.org/main | wc -l` > 0 ]; then
echo No outgoing changes # exit0
fi
for i in 123; do
hg pull http://hg.netbeans.org/main || exit 5 if [ `hg heads --template'{node|short}\n' | wc -l` = 1 ]
then
hg up || exit6 else
hg merge || exit7
hg ci -m 'Automated merge' || exit8
fi
hg out http://hg.netbeans.org/main
hg in http://hg.netbeans.org/main
hg push https://"$push_username":"$push_password"@hg.netbeans.org/main && exit 0
done exit5
fi
if [ "$action" = "sync" ]; then
HEADS=`hg heads --template"{node}\n" | wc -l` if [ $HEADS = 2 ]; then
hg merge
hg ci -m "Automated merge"
hg up -C
fi
hg fetch http://hg.netbeans.org/$repository
hg push https://"$push_username":"$push_password"@hg.netbeans.org/$repository exit0
fi
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.