FailOnError for deploydb and doc targets

Use failonerror=true for the exec calls used in the
deploy-cloudstack-db, deploydb-simulator, and build-apidocs targets.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9acd1cca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9acd1cca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9acd1cca

Branch: refs/heads/master
Commit: 9acd1ccaa3d586add8124e8fc35c7fbf225d4381
Parents: 73be77a
Author: Ewan Mellor <[email protected]>
Authored: Tue Jul 31 12:01:55 2012 +0530
Committer: Prasanna Santhanam <[email protected]>
Committed: Tue Jul 31 12:03:23 2012 +0530

----------------------------------------------------------------------
 build/developer.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9acd1cca/build/developer.xml
----------------------------------------------------------------------
diff --git a/build/developer.xml b/build/developer.xml
index ecd6939..f9c581e 100755
--- a/build/developer.xml
+++ b/build/developer.xml
@@ -241,7 +241,7 @@
     </condition>
        
     <echo message="deploydb ${server-setup.file} ${templates.file} 
${DBROOTPW}" />
-    <exec dir="${db.scripts.dir}" executable="bash">
+    <exec dir="${db.scripts.dir}" executable="bash" failonerror="true">
       <arg value="deploy-db-dev.sh" />
       <arg value="${server-setup.file}" />
       <arg value="${templates.file}" />
@@ -269,7 +269,7 @@
     </condition>
        
     <echo message="deploydb ${server-setup.file} ${templates.file} 
${DBROOTPW}" />
-    <exec dir="${db.scripts.dir}" executable="bash">
+    <exec dir="${db.scripts.dir}" executable="bash" failonerror="true">
       <arg value="deploy-db-simulator.sh" />
       <arg value="${server-setup.file}" />
       <arg value="${templates.file}" />
@@ -401,7 +401,7 @@
          <property name="commands.vr.file" 
location="${dist.dir}/client/conf/virtualrouter_commands.properties" />
   
        <echo message="build-apidocs" />
-    <exec dir="${apidoc.scripts.dir}" executable="bash">
+    <exec dir="${apidoc.scripts.dir}" executable="bash" failonerror="true">
       <arg value="build-apidoc.sh" />
       <arg value="${target.dir}/jar" />
       <arg value="${deps.dir}" />

Reply via email to