From c69926bc96374390dfeb7a2b82c352a15359f5d0 Mon Sep 17 00:00:00 2001 From: DT Netsolution GmbH Date: Fri, 27 Jan 2012 02:34:11 +0100 Subject: [PATCH] - umgestellt auf neuen builder --- builder-product.cfg | 41 ++++++++++++++++++++++++++++++++++ builder-targets-cb.sh | 52 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 builder-product.cfg create mode 100644 builder-targets-cb.sh diff --git a/builder-product.cfg b/builder-product.cfg new file mode 100644 index 0000000..3ff61fc --- /dev/null +++ b/builder-product.cfg @@ -0,0 +1,41 @@ +############################ +# Setup product information +############################ +VENDOR="itwatch.de" +PN="itwatch" +VERSION="4.10.19" +RELEASE="3" +PRIORITY="0" +ADVICE="" + +# Status integration, testing, release +STATUS="review" + +################# +# Setup url for downloading the binaries +################ + +# all downloads should not have any traling parameters like ?downlaodid=1234 .....(should rewrite in python) +# You can setup many URL's separated by ";" + +# Format: basename ; URL1 ; URL2 ; ... +ICON_FILE_INDEX=0 + +# Format: basename ; URL1 ; URL2 ; ... +#FILE1="itWESS-Client_German.msi;http://ivyrepos.dtnet.de/v-$PN/itwatch/itwatch/4.10.19/itWESS-Client_German.msi;http://internal.graz.disconnected-by-peer.at/Orig/itWatch/itWESS/HB/4.10.19/itWESS-Client_German.msi" +#FILE2="itWESS-64bit_German.msi;http://ivyrepos.dtnet.de/itwatch/itwatch/4.10.19/itWESS-64bit_German.msi;http://internal.graz.disconnected-by-peer.at/Orig/itWatch/itWESS/HB/4.10.19/itWESS-64bit_German.msi" + +FILE[0]="itWatchLogo.jpg" +SOURCE[0]="http://www.itwatch.de/logos/itWatchLogo.jpg" +WINST[0]=IconFile + +FILE[1]="itWESS-Client_German.msi" +SOURCE[1]="http://ivyrepos.dtnet.de/v-$PN/itwatch/itwatch/4.10.19/itWESS-Client_German.msi;http://internal.graz.disconnected-by-peer.at/Orig/itWatch/itWESS/HB/4.10.19/itWESS-Client_German.msi" +ARCH[1]="X86" +WINST[1]=itWESS + +FILE[2]="itWESS-64bit_German.msi" +SOURCE[2]="http://ivyrepos.dtnet.de/itwatch/itwatch/4.10.19/itWESS-64bit_German.msi;http://internal.graz.disconnected-by-peer.at/Orig/itWatch/itWESS/HB/4.10.19/itWESS-64bit_German.msi" +ARCH[2]="X86_64" +WINST[2]=itWESS64 + diff --git a/builder-targets-cb.sh b/builder-targets-cb.sh new file mode 100644 index 0000000..6525a3e --- /dev/null +++ b/builder-targets-cb.sh @@ -0,0 +1,52 @@ +############################################################################## +# This optional file "builder-targets-cb.sh" will be called by builder.sh +# +# You can overwrite target functions like +# config, prepare, retrieve, create, package, publish, commit, cleanup +# and define callback functions +# cb_package_makeproductfile +# +############################################################################## + +#function config() { +# echo "Config" +# builder_config +#} + +#function prepare() { +# echo "Prepare" +# builder_prepare +#} + +function retrieve() { + echo "Retrieve" + builder_retrieve +} + +function create() { + echo "Create" + builder_create +} + +function package() { + echo "Package" + builder_package +} + +function cb_package_makeproductfile() { + echo "May add/replace files to the files to $inst_dir" +} + +function publish() { + echo "Publish" + builder_publish +} + +function commit() { + echo "Commit" + # builder_commit +} +function cleanup() { + echo "Cleanup: output_dir: $output_dir" + # builder_cleanup +}