From 8f04a5b88cfbae1c8d329feeab54de19fb5976a4 Mon Sep 17 00:00:00 2001 From: Cheng Zhang Date: Mon, 8 Jun 2015 15:53:58 +0800 Subject: [PATCH] CP-12162: Add Health Check Service to the XenCenter build system Signed-off-by: Cheng Zhang --- mk/xenadmin-build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 mk/xenadmin-build.sh diff --git a/mk/xenadmin-build.sh b/mk/xenadmin-build.sh old mode 100644 new mode 100755 index 97a285b4c..826ce0e91 --- a/mk/xenadmin-build.sh +++ b/mk/xenadmin-build.sh @@ -181,7 +181,7 @@ version_brand_csharp() version_brand_cpp "${REPO}/splash/splash.rc ${REPO}/splash/main.cpp" subst_globals ${REPO}/XenAdmin/Branding.cs cd ${REPO} && /usr/bin/find -name \*.csproj -exec sed -i 's#false#true#' {} \; -version_brand_csharp "XenAdmin CommandLib XenCenterLib XenModel XenOvfApi XenOvfTransport XenCenterVNC xe xva_verify VNCControl" +version_brand_csharp "XenAdmin CommandLib XenCenterLib XenModel XenOvfApi XenOvfTransport XenCenterVNC xe xva_verify VNCControl XenServerHealthCheck" #build @@ -201,6 +201,7 @@ cd ${REPO}/xva_verify && run_msbuild cd ${REPO}/splash && run_vcbuild "Splash.vcproj" cp ${REPO}/splash/XenAdmin/bin/Release/XenCenter.* ${REPO}/XenAdmin/bin/Release/ cd ${REPO}/VNCControl && run_msbuild +cd ${REPO}/XenServerHealthCheck && run_msbuild #sign (splash has already been signed through a post-build event) for file in XenCenter.exe XenCenterMain.exe CommandLib.dll MSTSCLib.dll XenCenterLib.dll XenCenterVNC.dll XenModel.dll XenOvf.dll XenOvfTransport.dll @@ -221,6 +222,8 @@ do cd ${REPO}/VNCControl/bin/Release && ${REPO}/sign.bat ${file} done +cd ${REPO}/XenServerHealthCheck/bin/Release && ${REPO}/sign.bat XenServerHealthCheck.exe + #prepare wix WIX=${REPO}/WixInstaller @@ -384,6 +387,7 @@ cp ${REPO}/XenAdmin/bin/Release/{XS56EFP1002,XS56E008,XS60E001,XS62E006}.xsupdat ${REPO}/xe/bin/Release/xe.pdb \ ${REPO}/xva_verify/bin/Release/xva_verify.pdb \ ${REPO}/VNCControl/bin/Release/VNCControl.pdb \ + ${REPO}/XenServerHealthCheck/bin/Release/XenServerHealthCheck.pdb ${OUTPUT_DIR} #create english iso files