Author: ataylor
Date: 2009-12-05 04:58:45 -0500 (Sat, 05 Dec 2009)
New Revision: 8578
Added:
trunk/docs/quickstart-guide/build.bat
trunk/docs/quickstart-guide/build.sh
trunk/docs/user-manual/build.bat
trunk/docs/user-manual/build.sh
trunk/src/config/jboss-as/build.bat
trunk/src/config/jboss-as/build.sh
Modified:
trunk/build-hornetq.xml
trunk/docs/quickstart-guide/en/installation.xml
Log:
added build scripts and updated docs
Modified: trunk/build-hornetq.xml
===================================================================
--- trunk/build-hornetq.xml 2009-12-05 09:32:24 UTC (rev 8577)
+++ trunk/build-hornetq.xml 2009-12-05 09:58:45 UTC (rev 8578)
@@ -864,6 +864,7 @@
<chmod file="${build.distro.bin.dir}/run.sh"
perm="ugo+rx"/>
<chmod file="${build.distro.bin.dir}/stop.sh"
perm="ugo+rx"/>
<chmod file="${build.distro.bin.dir}/build.sh"
perm="ugo+rx"/>
+ <chmod file="${build.distro.config.dir}/jboss-as/build.sh"
perm="ugo+rx"/>
<copy todir="${build.distro.bin.dir}">
<fileset dir="${native.bin.dir}">
<include name="*.so"/>
Copied: trunk/docs/quickstart-guide/build.bat (from rev 8576,
trunk/examples/core/embedded-remote/build.bat)
===================================================================
--- trunk/docs/quickstart-guide/build.bat (rev 0)
+++ trunk/docs/quickstart-guide/build.bat 2009-12-05 09:58:45 UTC (rev 8578)
@@ -0,0 +1,13 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=..\..\tools\ant"
+
+if exist "..\..\src\bin\build.bat" (
+ rem running from TRUNK
+ call ..\..\src\bin\build.bat %*
+) else (
+ rem running from the distro
+ call ..\..\bin\build.bat %*
+)
+
+set "OVERRIDE_ANT_HOME="
Copied: trunk/docs/quickstart-guide/build.sh (from rev 8576,
trunk/examples/core/embedded-remote/build.sh)
===================================================================
--- trunk/docs/quickstart-guide/build.sh (rev 0)
+++ trunk/docs/quickstart-guide/build.sh 2009-12-05 09:58:45 UTC (rev 8578)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+OVERRIDE_ANT_HOME=../../tools/ant
+export OVERRIDE_ANT_HOME
+
+if [ -f "../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../bin/build.sh "$@"
+fi
+
+
+
Modified: trunk/docs/quickstart-guide/en/installation.xml
===================================================================
--- trunk/docs/quickstart-guide/en/installation.xml 2009-12-05 09:32:24 UTC (rev 8577)
+++ trunk/docs/quickstart-guide/en/installation.xml 2009-12-05 09:58:45 UTC (rev 8578)
@@ -105,7 +105,8 @@
directory where you installed JBoss AS 5</para>
</listitem>
<listitem>
- <para>run <literal>ant</literal> in HornetQ's
<literal>config/jboss-as</literal>
+ <para>run <literal>./build.sh</literal> (or
<literal>build.bat</literal> if you
+ are on Windows) in HornetQ's
<literal>config/jboss-as</literal>
directory</para>
</listitem>
</orderedlist>
@@ -142,7 +143,8 @@
directory where you installed JBoss AS 4</para>
</listitem>
<listitem>
- <para>run <literal>ant as4</literal> in HornetQ's
<literal>config/jboss-as</literal>
+ <para>run <literal><literal>./build.sh</literal> (or
<literal>build.bat</literal> if you
+ are on Windows) as4</literal> in HornetQ's
<literal>config/jboss-as</literal>
directory</para>
</listitem>
</orderedlist>
Copied: trunk/docs/user-manual/build.bat (from rev 8576,
trunk/examples/core/embedded-remote/build.bat)
===================================================================
--- trunk/docs/user-manual/build.bat (rev 0)
+++ trunk/docs/user-manual/build.bat 2009-12-05 09:58:45 UTC (rev 8578)
@@ -0,0 +1,13 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=..\..\tools\ant"
+
+if exist "..\..\src\bin\build.bat" (
+ rem running from TRUNK
+ call ..\..\src\bin\build.bat %*
+) else (
+ rem running from the distro
+ call ..\..\bin\build.bat %*
+)
+
+set "OVERRIDE_ANT_HOME="
Copied: trunk/docs/user-manual/build.sh (from rev 8576,
trunk/examples/core/embedded-remote/build.sh)
===================================================================
--- trunk/docs/user-manual/build.sh (rev 0)
+++ trunk/docs/user-manual/build.sh 2009-12-05 09:58:45 UTC (rev 8578)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+OVERRIDE_ANT_HOME=../../tools/ant
+export OVERRIDE_ANT_HOME
+
+if [ -f "../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../bin/build.sh "$@"
+fi
+
+
+
Copied: trunk/src/config/jboss-as/build.bat (from rev 8576,
trunk/examples/core/embedded-remote/build.bat)
===================================================================
--- trunk/src/config/jboss-as/build.bat (rev 0)
+++ trunk/src/config/jboss-as/build.bat 2009-12-05 09:58:45 UTC (rev 8578)
@@ -0,0 +1,13 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=..\..\tools\ant"
+
+if exist "..\..\src\bin\build.bat" (
+ rem running from TRUNK
+ call ..\..\src\bin\build.bat %*
+) else (
+ rem running from the distro
+ call ..\..\bin\build.bat %*
+)
+
+set "OVERRIDE_ANT_HOME="
Copied: trunk/src/config/jboss-as/build.sh (from rev 8576,
trunk/examples/core/embedded-remote/build.sh)
===================================================================
--- trunk/src/config/jboss-as/build.sh (rev 0)
+++ trunk/src/config/jboss-as/build.sh 2009-12-05 09:58:45 UTC (rev 8578)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+OVERRIDE_ANT_HOME=../../tools/ant
+export OVERRIDE_ANT_HOME
+
+if [ -f "../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../bin/build.sh "$@"
+fi
+
+
+
Show replies by date