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.
This commit is contained in:
Ewan Mellor 2012-07-31 12:01:55 +05:30 committed by Prasanna Santhanam
parent 73be77a4c1
commit 9acd1ccaa3
1 changed files with 3 additions and 3 deletions

View File

@ -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}" />