You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by tb...@apache.org on 2014/02/04 21:34:07 UTC

git commit: AMBARI-4525 - Fix Ambari MSI build process

Updated Branches:
  refs/heads/branch-1.4.4 23cc2bc30 -> 1eb72e5a5


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/1eb72e5a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1eb72e5a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1eb72e5a

Branch: refs/heads/branch-1.4.4
Commit: 1eb72e5a5a86bdc7fb8613c92689545b5601227b
Parents: 23cc2bc
Author: tbeerbower <tb...@hortonworks.com>
Authored: Tue Feb 4 12:33:20 2014 -0800
Committer: tbeerbower <tb...@hortonworks.com>
Committed: Tue Feb 4 12:33:20 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/1eb72e5a/contrib/ambari-scom/msi/build.cmd
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/build.cmd b/contrib/ambari-scom/msi/build.cmd
index 021cb0f..85abd46 100644
--- a/contrib/ambari-scom/msi/build.cmd
+++ b/contrib/ambari-scom/msi/build.cmd
@@ -38,8 +38,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