Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2016-05-10 14:58:43 +0000
committerDavid Williams2016-05-10 14:58:43 +0000
commitf3947c8093894ba40b6676b7b4a8e601ac5defdb (patch)
tree50147e5c86ac8e6154c43771346fa1cf77ea250f
parent2276addf33f9926b9443b7f39c69eca13820fdf2 (diff)
downloadeclipse.platform.releng.aggregator-f3947c8093894ba40b6676b7b4a8e601ac5defdb.tar.gz
eclipse.platform.releng.aggregator-f3947c8093894ba40b6676b7b4a8e601ac5defdb.tar.xz
eclipse.platform.releng.aggregator-f3947c8093894ba40b6676b7b4a8e601ac5defdb.zip
[releng] improve debug and error messages
-rwxr-xr-xeclipse.platform.releng.tychoeclipsebuilder/eclipse/extras/produceChecksum.sh4
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/helper.xml4
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/equinox/helper.xml5
-rw-r--r--production/bashUtilities.shsource4
4 files changed, 11 insertions, 6 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/extras/produceChecksum.sh b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/extras/produceChecksum.sh
index a637f560e..25e354fee 100755
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/extras/produceChecksum.sh
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/extras/produceChecksum.sh
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
-echo "Producing checksums"
+echo "[DEBUG] Producing checksums starting"
+echo "[DEBUG] current directory: ${PWD}"
if [[ -z "${SCRIPT_PATH}" ]]
then
echo -e "\n\tWARNING: SCRIPT_PATH not defined in ${0##*/}"
@@ -76,3 +77,4 @@ then
checkSumEnd="$(date +%s )"
elapsedTime $checkSumStart $checkSumEnd "${area} Elapsed Time computing checksums"
fi
+echo "[DEBUG] Producing checksums ended normally" \ No newline at end of file
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/helper.xml b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/helper.xml
index 2a0e784e0..c6862a440 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/helper.xml
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/helper.xml
@@ -20,7 +20,7 @@
<target
name="publish"
description="Preparing to post the build...">
-
+ <echo message="[DEBUG] Eclipse helper.xml publish starting" />
<fail
unless="AGGR_DIR"
message="AGGR_DIR must be defined for this this script" />
@@ -83,7 +83,7 @@
tofile="${postingDirectory}/${buildLabel}/compilelogs/pde.doc.user.schema.txt"
failonerror="false"
quiet="true" />
-
+ <echo message="[DEBUG] Eclipse helper.xml publish ending normally" />
</target>
<target name="generateEclipseIndex">
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/equinox/helper.xml b/eclipse.platform.releng.tychoeclipsebuilder/equinox/helper.xml
index 5853e687f..b36df74bb 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/equinox/helper.xml
+++ b/eclipse.platform.releng.tychoeclipsebuilder/equinox/helper.xml
@@ -43,7 +43,7 @@
<target
name="publish"
depends="init">
-
+ <echo message="[DEBUG] Equinox helper.xml publish starting" />
<!-- there are three "buildproperties.* files, each with same variables defined/used
during the build, such as BUILD_ID, etc. One for PHP, one for Ant, and one for BASH scripts.
The one for PHP is most likely to be useful on download site.
@@ -157,13 +157,14 @@
compileLogsDirectoryName="${equinoxPostingDirectory}/${buildDir}/compilelogs/plugins"
testManifestFileName="${eqpublishingContent}/testManifest.xml" />
-
+ <echo message="[DEBUG] Equinox helper.xml publish ending normally" />
</target>
<target
name="updateTestManifests"
depends="init">
+ <echo message="Starting updateTestManifest" />
<antcall target="updateTestManifest">
<param
name="bundle.id"
diff --git a/production/bashUtilities.shsource b/production/bashUtilities.shsource
index 7289670c8..d318650db 100644
--- a/production/bashUtilities.shsource
+++ b/production/bashUtilities.shsource
@@ -204,7 +204,9 @@ elapsedTime ()
then
# elapsed time is for human readers. elapsedSeconds is recorded too in case we ever do more
# statistics or graphs with the data.
- echo -e "\n\t${message}: $elapsedTime\n\t\t${message}: RawSeconds: ${elapsedSeconds}" >> "${timeFile}"
+ echo -e "\n\t${message}: $elapsedTime\n\t${message}: RawSeconds: ${elapsedSeconds}" >> "${timeFile}"
+ else
+ echo -e "\n\t[WARNING] timeFile variable was not defined in ${0##*/}"
fi
}

Back to the top