ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbeerbo...@apache.org
Subject git commit: AMBARI-4525 - Fix Ambari MSI build process
Date Tue, 04 Feb 2014 20:35:47 GMT
Updated Branches:
  refs/heads/trunk 1d80ca0bc -> aeb36c36e


AMBARI-4525 - Fix Ambari MSI build process


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/aeb36c36
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/aeb36c36
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/aeb36c36

Branch: refs/heads/trunk
Commit: aeb36c36e4dffa6ea1082b5298ff7b07e17352f1
Parents: 1d80ca0
Author: tbeerbower <tbeerbower@hortonworks.com>
Authored: Tue Feb 4 12:35:29 2014 -0800
Committer: tbeerbower <tbeerbower@hortonworks.com>
Committed: Tue Feb 4 12:35:29 2014 -0800

----------------------------------------------------------------------
 contrib/ambari-scom/msi/build.cmd | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/aeb36c36/contrib/ambari-scom/msi/build.cmd
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/build.cmd b/contrib/ambari-scom/msi/build.cmd
index 40b7f5b..b52e1c3 100644
--- a/contrib/ambari-scom/msi/build.cmd
+++ b/contrib/ambari-scom/msi/build.cmd
@@ -36,8 +36,12 @@ echo Building MSI
 pushd "%cd%\src" || exit /b 1
 start /wait /min candle "%cd%\ambari-scom.wxs"  || exit /b 1
 start /wait /min light "%cd%\ambari-scom.wixobj"  || exit /b 1
+if not exist "%cd%\ambari-scom.msi" (
+echo MSI build failed
+exit /b 1
+)
 popd || exit /b 1
-copy /y "..\management-pack\Hadoop_MP\Installer\bin\Debug\en-us\AmbariSCOMManagementPack.msi"
"%cd%\ambari-scom.msi" || exit /b 1
+copy /y "..\management-pack\Hadoop_MP\Installer\bin\Debug\en-us\AmbariSCOMManagementPack.msi"
"%cd%\ambari-scom-mp.msi" || exit /b 1
 
 echo Cleaning 
 del /f /q "%cd%\src\ambari-scom.wixobj"  || exit /b 1


Mime
View raw message