You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2014/06/12 19:54:16 UTC
git commit: AMBARI-6060. amabri-web project build should fail if
brunch build or gzip command execution fails. (2nd patch) (jaimin)
Repository: ambari
Updated Branches:
refs/heads/trunk f22493a9c -> feefe5c16
AMBARI-6060. amabri-web project build should fail if brunch build or gzip command execution fails. (2nd patch) (jaimin)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/feefe5c1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/feefe5c1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/feefe5c1
Branch: refs/heads/trunk
Commit: feefe5c16e8b76ed236b0a92036b22069ef271ab
Parents: f22493a
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Thu Jun 12 10:52:40 2014 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Thu Jun 12 10:53:51 2014 -0700
----------------------------------------------------------------------
ambari-web/pom.xml | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/feefe5c1/ambari-web/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-web/pom.xml b/ambari-web/pom.xml
index 82c8def..4501690 100644
--- a/ambari-web/pom.xml
+++ b/ambari-web/pom.xml
@@ -101,6 +101,7 @@
<exec dir="${basedir}" executable="rm">
<arg value="-rf"/>
<arg value="public"/>
+ <arg value="node_modules"/>
</exec>
<exec dir="${basedir}" executable="mkdir">
<arg value="public"/>
@@ -120,25 +121,26 @@
<env key="PYTHON" value="${project.basedir}/../ambari-common/src/main/unix/ambari-python-wrap" />
<arg value="install"/>
</exec>
- <exec dir="${basedir}" executable="brunch">
+ <exec dir="${basedir}" executable="brunch" failonerror="true">
<arg value="build"/>
</exec>
<!-- sets Ambari version to make it accessible from code -->
- <exec dir="${basedir}" executable="sh">
+ <exec dir="${basedir}" executable="sh" failonerror="true">
<arg value="${basedir}/set-ambari-version.sh"/>
<arg value="${ambariVersion}"/>
</exec>
<!-- sets default stack and version to use for install -->
- <exec dir="${basedir}" executable="sh">
+ <exec dir="${basedir}" executable="sh" failonerror="true">
<arg value="${basedir}/set-default-stack-version.sh"/>
<arg value="${defaultStackVersion}"/>
</exec>
<!-- enables experimental features if enableExperimental is set to true -->
- <exec dir="${basedir}" executable="sh">
+ <exec dir="${basedir}" executable="sh" failonerror="true">
<arg value="${basedir}/toggle-experimental.sh"/>
<arg value="${enableExperimental}"/>
</exec>
- <exec dir="${basedir}" executable="gzip">
+ <exec dir="${basedir}" executable="gzip" failonerror="true">
+ <arg value="-f"/>
<arg value="public/javascripts/app.js"/>
<arg value="public/javascripts/vendor.js"/>
<arg value="public/stylesheets/app.css"/>