activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [06/11] activemq-6 git commit: fix gitbook command name for windows
Date Wed, 04 Mar 2015 15:02:10 GMT
fix gitbook command name for windows


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

Branch: refs/heads/master
Commit: e178092dcc8ab7f1e72b1ddb784264f3f98b9f5a
Parents: 8041f1f
Author: Howard Gao <hgao@redhat.com>
Authored: Wed Mar 4 21:34:20 2015 +0800
Committer: Howard Gao <hgao@redhat.com>
Committed: Wed Mar 4 21:35:54 2015 +0800

----------------------------------------------------------------------
 activemq-website/pom.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-6/blob/e178092d/activemq-website/pom.xml
----------------------------------------------------------------------
diff --git a/activemq-website/pom.xml b/activemq-website/pom.xml
index 5c27894..9060013 100644
--- a/activemq-website/pom.xml
+++ b/activemq-website/pom.xml
@@ -119,10 +119,13 @@
                       <phase>generate-sources</phase>
                       <configuration>
                         <target>
+			  <condition property="gitbook.cmd" value="gitbook.cmd" else="gitbook">
+			    <os family="windows"/>
+			  </condition>
                           <!-- lets generate the gitbook -->
                           <mkdir dir="${webapp-outdir}/gitbook" />
-                          <echo>executing gitbook</echo>
-                          <exec executable="gitbook">
+                          <echo>executing ${gitbook.cmd}</echo>
+                          <exec executable="${gitbook.cmd}">
                             <arg value="build" />
                             <arg value="${basedir}/../docs/user-manual/en" />
                             <arg value="--output=${webapp-outdir}" />


Mime
View raw message