Skip to content
Browse files

use our own ant, part 2, adapt examples to use own ant

  • Loading branch information...
1 parent 4015413 commit 49cf3c14cc306b544add769bfaaaee8b692f27b7 @purplefox purplefox committed
Showing with 2,160 additions and 114 deletions.
  1. +36 −1 build-hornetq.xml
  2. +1 −51 build.bat
  3. +1 −61 build.sh
  4. +1 −1 build.xml
  5. +11 −0 examples/common/build.xml
  6. +12 −0 examples/core/embedded-remote/build.bat
  7. +14 −0 examples/core/embedded-remote/build.sh
  8. +12 −0 examples/core/embedded/build.bat
  9. +14 −0 examples/core/embedded/build.sh
  10. +12 −0 examples/core/microcontainer/build.bat
  11. +14 −0 examples/core/microcontainer/build.sh
  12. +12 −0 examples/core/perf/build.bat
  13. +14 −0 examples/core/perf/build.sh
  14. +12 −0 examples/javaee/ejb-jms-transaction/build.bat
  15. +14 −0 examples/javaee/ejb-jms-transaction/build.sh
  16. +12 −0 examples/javaee/hajndi/build.bat
  17. +14 −0 examples/javaee/hajndi/build.sh
  18. +12 −0 examples/javaee/jca-config/build.bat
  19. +14 −0 examples/javaee/jca-config/build.sh
  20. +12 −0 examples/javaee/jms-bridge/build.bat
  21. +14 −0 examples/javaee/jms-bridge/build.sh
  22. +12 −0 examples/javaee/mdb-bmt/build.bat
  23. +14 −0 examples/javaee/mdb-bmt/build.sh
  24. +12 −0 examples/javaee/mdb-cmt-setrollbackonly/build.bat
  25. +14 −0 examples/javaee/mdb-cmt-setrollbackonly/build.sh
  26. +12 −0 examples/javaee/mdb-cmt-tx-local/build.bat
  27. +14 −0 examples/javaee/mdb-cmt-tx-local/build.sh
  28. +12 −0 examples/javaee/mdb-cmt-tx-not-supported/build.bat
  29. +14 −0 examples/javaee/mdb-cmt-tx-not-supported/build.sh
  30. +12 −0 examples/javaee/mdb-cmt-tx-required/build.bat
  31. +14 −0 examples/javaee/mdb-cmt-tx-required/build.sh
  32. +12 −0 examples/javaee/mdb-message-selector/build.bat
  33. +14 −0 examples/javaee/mdb-message-selector/build.sh
  34. +12 −0 examples/javaee/mdb-tx-send/build.bat
  35. +14 −0 examples/javaee/mdb-tx-send/build.sh
  36. +12 −0 examples/javaee/servlet-ssl/build.bat
  37. +14 −0 examples/javaee/servlet-ssl/build.sh
  38. +12 −0 examples/javaee/servlet-transport/build.bat
  39. +14 −0 examples/javaee/servlet-transport/build.sh
  40. +12 −0 examples/javaee/xarecovery/build.bat
  41. +14 −0 examples/javaee/xarecovery/build.sh
  42. +12 −0 examples/jms/applet/build.bat
  43. +14 −0 examples/jms/applet/build.sh
  44. +12 −0 examples/jms/application-layer-failover/build.bat
  45. +14 −0 examples/jms/application-layer-failover/build.sh
  46. +12 −0 examples/jms/automatic-failover/build.bat
  47. +14 −0 examples/jms/automatic-failover/build.sh
  48. +12 −0 examples/jms/bridge/build.bat
  49. +14 −0 examples/jms/bridge/build.sh
  50. +12 −0 examples/jms/browser/build.bat
  51. +14 −0 examples/jms/browser/build.sh
  52. +12 −0 examples/jms/client-kickoff/build.bat
  53. +14 −0 examples/jms/client-kickoff/build.sh
  54. +12 −0 examples/jms/client-side-load-balancing/build.bat
  55. +14 −0 examples/jms/client-side-load-balancing/build.sh
  56. +12 −0 examples/jms/clustered-durable-subscription/build.bat
  57. +14 −0 examples/jms/clustered-durable-subscription/build.sh
  58. +12 −0 examples/jms/clustered-queue/build.bat
  59. +14 −0 examples/jms/clustered-queue/build.sh
  60. +12 −0 examples/jms/clustered-standalone/build.bat
  61. +14 −0 examples/jms/clustered-standalone/build.sh
  62. +12 −0 examples/jms/clustered-topic/build.bat
  63. +14 −0 examples/jms/clustered-topic/build.sh
  64. +12 −0 examples/jms/consumer-rate-limit/build.bat
  65. +14 −0 examples/jms/consumer-rate-limit/build.sh
  66. +12 −0 examples/jms/dead-letter/build.bat
  67. +14 −0 examples/jms/dead-letter/build.sh
  68. +12 −0 examples/jms/delayed-redelivery/build.bat
  69. +14 −0 examples/jms/delayed-redelivery/build.sh
  70. +12 −0 examples/jms/divert/build.bat
  71. +14 −0 examples/jms/divert/build.sh
  72. +12 −0 examples/jms/durable-subscription/build.bat
  73. +14 −0 examples/jms/durable-subscription/build.sh
  74. +12 −0 examples/jms/embedded/build.bat
  75. +14 −0 examples/jms/embedded/build.sh
  76. +12 −0 examples/jms/expiry/build.bat
  77. +14 −0 examples/jms/expiry/build.sh
  78. +12 −0 examples/jms/http-transport/build.bat
  79. +14 −0 examples/jms/http-transport/build.sh
  80. +12 −0 examples/jms/instantiate-connection-factory/build.bat
  81. +14 −0 examples/jms/instantiate-connection-factory/build.sh
  82. +12 −0 examples/jms/interceptor/build.bat
  83. +14 −0 examples/jms/interceptor/build.sh
  84. +12 −0 examples/jms/jaas/build.bat
  85. +14 −0 examples/jms/jaas/build.sh
  86. +12 −0 examples/jms/jmx/build.bat
  87. +14 −0 examples/jms/jmx/build.sh
  88. +12 −0 examples/jms/large-message/build.bat
  89. +14 −0 examples/jms/large-message/build.sh
  90. +12 −0 examples/jms/last-value-queue/build.bat
  91. +14 −0 examples/jms/last-value-queue/build.sh
  92. +12 −0 examples/jms/management-notifications/build.bat
  93. +14 −0 examples/jms/management-notifications/build.sh
  94. +12 −0 examples/jms/management/build.bat
  95. +14 −0 examples/jms/management/build.sh
  96. +12 −0 examples/jms/message-counters/build.bat
  97. +14 −0 examples/jms/message-counters/build.sh
  98. +12 −0 examples/jms/message-group/build.bat
  99. +14 −0 examples/jms/message-group/build.sh
  100. +12 −0 examples/jms/message-priority/build.bat
  101. +14 −0 examples/jms/message-priority/build.sh
  102. +12 −0 examples/jms/no-consumer-buffering/build.bat
  103. +14 −0 examples/jms/no-consumer-buffering/build.sh
  104. +12 −0 examples/jms/paging/build.bat
  105. +14 −0 examples/jms/paging/build.sh
  106. +12 −0 examples/jms/perf/build.bat
  107. +14 −0 examples/jms/perf/build.sh
  108. +12 −0 examples/jms/pre-acknowledge/build.bat
  109. +14 −0 examples/jms/pre-acknowledge/build.sh
  110. +12 −0 examples/jms/producer-rate-limit/build.bat
  111. +14 −0 examples/jms/producer-rate-limit/build.sh
  112. +12 −0 examples/jms/queue-message-redistribution/build.bat
  113. +14 −0 examples/jms/queue-message-redistribution/build.sh
  114. +12 −0 examples/jms/queue-requestor/build.bat
  115. +14 −0 examples/jms/queue-requestor/build.sh
  116. +12 −0 examples/jms/queue-selector/build.bat
  117. +14 −0 examples/jms/queue-selector/build.sh
  118. +12 −0 examples/jms/queue/build.bat
  119. +14 −0 examples/jms/queue/build.sh
  120. +12 −0 examples/jms/reconnect-same-node/build.bat
  121. +14 −0 examples/jms/reconnect-same-node/build.sh
  122. +12 −0 examples/jms/request-reply/build.bat
  123. +14 −0 examples/jms/request-reply/build.sh
  124. +12 −0 examples/jms/scheduled-message/build.bat
  125. +14 −0 examples/jms/scheduled-message/build.sh
  126. +12 −0 examples/jms/security/build.bat
  127. +14 −0 examples/jms/security/build.sh
  128. +12 −0 examples/jms/send-acknowledgements/build.bat
  129. +14 −0 examples/jms/send-acknowledgements/build.sh
  130. +12 −0 examples/jms/ssl-enabled/build.bat
  131. +14 −0 examples/jms/ssl-enabled/build.sh
  132. +12 −0 examples/jms/static-selector-jms/build.bat
  133. +14 −0 examples/jms/static-selector-jms/build.sh
  134. +12 −0 examples/jms/static-selector/build.bat
  135. +14 −0 examples/jms/static-selector/build.sh
  136. +12 −0 examples/jms/symmetric-cluster/build.bat
  137. +14 −0 examples/jms/symmetric-cluster/build.sh
  138. +12 −0 examples/jms/temp-queue/build.bat
  139. +14 −0 examples/jms/temp-queue/build.sh
  140. +12 −0 examples/jms/topic-hierarchies/build.bat
  141. +14 −0 examples/jms/topic-hierarchies/build.sh
  142. +12 −0 examples/jms/topic-selector-example1/build.bat
  143. +14 −0 examples/jms/topic-selector-example1/build.sh
  144. +12 −0 examples/jms/topic-selector-example2/build.bat
  145. +14 −0 examples/jms/topic-selector-example2/build.sh
  146. +12 −0 examples/jms/topic/build.bat
  147. +14 −0 examples/jms/topic/build.sh
  148. +12 −0 examples/jms/transactional/build.bat
  149. +14 −0 examples/jms/transactional/build.sh
  150. +12 −0 examples/jms/xa-heuristic/build.bat
  151. +14 −0 examples/jms/xa-heuristic/build.sh
  152. +12 −0 examples/jms/xa-receive/build.bat
  153. +14 −0 examples/jms/xa-receive/build.sh
  154. +12 −0 examples/jms/xa-send/build.bat
  155. +14 −0 examples/jms/xa-send/build.sh
  156. +12 −0 examples/jms/xa-with-jta/build.bat
  157. +14 −0 examples/jms/xa-with-jta/build.sh
  158. +60 −0 src/bin/build.bat
  159. +74 −0 src/bin/build.sh
View
37 build-hornetq.xml
@@ -18,6 +18,16 @@
<project name="The HornetQ Project">
+ <property name="hornetq.run_script" value="false" />
+
+ <fail message="*** Please build by using the build.sh script (or build.bat on Windows) ***">
+ <condition>
+ <not>
+ <equals arg1="${hornetq.run_script}" arg2="true"/>
+ </not>
+ </condition>
+ </fail>
+
<!-- ======================================================================================== -->
<!-- javac + junit properties -->
<!-- ======================================================================================== -->
@@ -91,6 +101,7 @@
<property name="build.api.dir" value="${build.dir}/api"/>
<property name="native.bin.dir" value="native/bin"/>
<property name="examples.dir" value="examples"/>
+ <property name="tools.dir" value="tools"/>
<property name="build.distro.dir"
value="${build.dir}/${build.artifact}"/>
@@ -103,6 +114,7 @@
<property name="build.distro.api.dir" value="${build.distro.dir}/docs/api"/>
<property name="build.distro.examples.dir" value="${build.distro.dir}/examples"/>
<property name="build.distro.licenses.dir" value="${build.distro.dir}/licenses"/>
+ <property name="build.distro.tools.dir" value="${build.distro.dir}/tools"/>
<property name="artifacts.dir" value="${build.dir}/artifacts"/>
<!--default clustering server settings-->
@@ -795,10 +807,13 @@
<include name="run.bat"/>
<include name="stop.sh"/>
<include name="stop.bat"/>
+ <include name="build.sh"/>
+ <include name="build.bat"/>
</fileset>
</copy>
<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"/>
<copy todir="${build.distro.bin.dir}">
<fileset dir="${native.bin.dir}">
<include name="*.so"/>
@@ -832,6 +847,20 @@
<exclude name="**/*.*~"/>
</fileset>
</copy>
+
+ <chmod perm="ugo+rx" parallel="false" verbose="true">
+ <fileset dir="${build.distro.examples.dir}">
+ <include name="**/build.sh"/>
+ </fileset>
+ </chmod>
+
+ <mkdir dir="${build.distro.tools.dir}/ant"/>
+
+ <copy todir="${build.distro.tools.dir}/ant">
+ <fileset dir="${tools.dir}/ant">
+ <include name="**"/>
+ </fileset>
+ </copy>
<!-- examples-ant.properties allow the examples to be run from the source or from the distribution -->
<!-- by configuring the correct lib/config location -->
@@ -841,10 +870,13 @@
<zip basedir="${build.dir}"
destfile="${build.dir}/${build.artifact}.zip">
<include name="${build.artifact}/**"/>
- <!-- add run.sh & stop.sh using a zipfileset to preserve file permissions -->
+ <!-- add run.sh, stop.sh and build.sh using a zipfileset to preserve file permissions -->
<exclude name="${build.artifact}/bin/*.sh"/>
+ <exclude name="${build.artifact}/examples/**/build.sh"/>
<zipfileset dir="${build.dir}/${build.artifact}/bin"
includes="*.sh" filemode="755" prefix="${build.artifact}/bin"/>
+ <zipfileset dir="${build.dir}/${build.artifact}/examples" includes="**/build.sh" filemode="755"
+ prefix="${build.artifact}/examples" />
</zip>
<tar basedir="${build.dir}"
@@ -853,8 +885,11 @@
<include name="${build.artifact}/**"/>
<!-- add run.sh & stop.sh using a tarfileset to preserve file permissions -->
<exclude name="${build.artifact}/bin/*.sh"/>
+ <exclude name="${build.artifact}/examples/**/build.sh"/>
<tarfileset dir="${build.dir}/${build.artifact}/bin"
includes="*.sh" filemode="755" prefix="${build.artifact}/bin"/>
+ <tarfileset dir="${build.dir}/${build.artifact}/examples" includes="**/build.sh" filemode="755"
+ prefix="${build.artifact}/examples" />
</tar>
<gzip src="${build.dir}/${build.artifact}.tar"
destfile="${build.dir}/${build.artifact}.tar.gz"/>
View
52 build.bat
@@ -1,54 +1,4 @@
@echo off
-rem Copyright 2009 Red Hat, Inc.
-rem Red Hat licenses this file to you under the Apache License, version
-rem 2.0 (the "License"); you may not use this file except in compliance
-rem with the License. You may obtain a copy of the License at
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-rem implied. See the License for the specific language governing
-rem permissions and limitations under the License.
+call src/bin/build.bat %*
-rem -------------------------------------------------------------------------
-rem HornetQ Build Script for Windows
-rem -------------------------------------------------------------------------
-
-rem $Id: $
-
-rem This build script will ensure a correct ant version is used.
-rem Users can also pass in options on the command line.
-
-rem First check for the existence of JAVA_HOME. It doesn't have to be set,
-rem but it may be an indication that javac is not available on the command line.
-
-if "x%JAVA_HOME%" == "x" (
- echo WARNING: JAVA_HOME is not set. Build may fail.
- echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
-)
-else (
- if exist "%JAVA_HOME%\bin\javac.exe" (
- echo Build script found javac.
-) else (
- echo WARNING: javac was not found. Make sure it is available in the path.
-))
-
-rem Save off the original ANT_HOME. We don't want to destroy environments.
-set "ORIG_ANT_HOME=%ANT_HOME%"
-
-rem Set the new one
-set "ANT_HOME=tools\ant"
-
-rem build HornetQ
-
-echo "Using the following ant version from %ANT_HOME%:"
-
-call tools\ant\bin\ant.bat -version
-
-call tools\ant\bin\ant.bat %* -Dhornetq.run_script=true
-
-rem Restore the original ANT_HOME values
-set "ANT_HOME=%ORIG_ANT_HOME%"
-
-echo Done
View
62 build.sh
@@ -1,63 +1,3 @@
#!/bin/sh
-# Copyright 2009 Red Hat, Inc.
-# Red Hat licenses this file to you under the Apache License, version
-# 2.0 (the "License"); you may not use htis file except in compliance
-# with the License. You may obtain a copy of the License at
-# http://www.apache.org/license/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied. See the License for the specific language governing
-# permissions and limitations under the License.
-
-# ------------------------------------------------
-# HornetQ Build Script for Linux
-# ------------------------------------------------
-
-# $Id: $
-
-# This build script will ensure the correct ant version is used.
-# Users can also pass in options on the command line.
-
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-die() {
- warn $*
- exit 1
-}
-
-# Save off the original ANT_HOME value
-export ORIG_ANT_HOME=$ANT_HOME
-
-# Set the temporary ANT_HOME
-export ANT_HOME=tools/ant
-
-# Check for JAVA_HOME. If it is not there, warn the user
-
-if [ -n "$JAVA_HOME" ]; then
-
- if [ -f "$JAVA_HOME/bin/javac" ]; then
- echo "Found javac"
- else
- die "Could not find javac."
- fi
-else
- warn "JAVA_HOME is not set. Build may fail."
- warn "Set JAVA_HOME to the directory of your local JDK to avoid this message."
-fi
-
-# Call ant
-chmod +x $ANT_HOME/bin/ant
-
-echo "Using the following ant version from ${ANT_HOME}:"
-
-$ANT_HOME/bin/ant -version
-
-$ANT_HOME/bin/ant "$@" -Dhornetq.run_script=true
-
-
-# Restore the original path
-export ANT_HOME=$ORIG_ANT_HOME
+src/bin/build.sh "$@"
View
2 build.xml
@@ -26,7 +26,7 @@ Copyright 2009 Red Hat, Inc.
<property name="hornetq.run_script" value="false" />
- <fail message="Please build by using the build.sh script (or build.bat on Windows)">
+ <fail message="*** Please build by using the build.sh script (or build.bat on Windows) ***">
<condition>
<not>
<equals arg1="${hornetq.run_script}" arg2="true"/>
View
11 examples/common/build.xml
@@ -15,6 +15,17 @@
~ permissions and limitations under the License.
-->
<project default="compile" name="example" basedir=".">
+
+ <property name="hornetq.run_script" value="false" />
+
+ <fail message="*** Please build by using the build.sh script (or build.bat on Windows) *** ">
+ <condition>
+ <not>
+ <equals arg1="${hornetq.run_script}" arg2="true"/>
+ </not>
+ </condition>
+ </fail>
+
<dirname property="imported.basedir" file="${ant.file.example}"/>
<property file="${imported.basedir}/config/ant.properties"/>
View
12 examples/core/embedded-remote/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/core/embedded-remote/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/core/embedded/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/core/embedded/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/core/microcontainer/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/core/microcontainer/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/core/perf/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/core/perf/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/ejb-jms-transaction/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/ejb-jms-transaction/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/hajndi/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/hajndi/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/jca-config/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/jca-config/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/jms-bridge/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/jms-bridge/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/mdb-bmt/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/mdb-bmt/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/mdb-cmt-setrollbackonly/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/mdb-cmt-setrollbackonly/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/mdb-cmt-tx-local/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/mdb-cmt-tx-local/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/mdb-cmt-tx-not-supported/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/mdb-cmt-tx-not-supported/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/mdb-cmt-tx-required/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/mdb-cmt-tx-required/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/mdb-message-selector/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/mdb-message-selector/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/mdb-tx-send/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/mdb-tx-send/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/servlet-ssl/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/servlet-ssl/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/servlet-transport/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/servlet-transport/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/javaee/xarecovery/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/javaee/xarecovery/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/applet/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/applet/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/application-layer-failover/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/application-layer-failover/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/automatic-failover/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/automatic-failover/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/bridge/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/bridge/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/browser/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/browser/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/client-kickoff/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/client-kickoff/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/client-side-load-balancing/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/client-side-load-balancing/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/clustered-durable-subscription/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/clustered-durable-subscription/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/clustered-queue/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/clustered-queue/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/clustered-standalone/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/clustered-standalone/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/clustered-topic/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/clustered-topic/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/consumer-rate-limit/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/consumer-rate-limit/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/dead-letter/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/dead-letter/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/delayed-redelivery/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/delayed-redelivery/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/divert/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/divert/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/durable-subscription/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/durable-subscription/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/embedded/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/embedded/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/expiry/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/expiry/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/http-transport/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/http-transport/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/instantiate-connection-factory/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/instantiate-connection-factory/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/interceptor/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/interceptor/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/jaas/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/jaas/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/jmx/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/jmx/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/large-message/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/large-message/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/last-value-queue/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/last-value-queue/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/management-notifications/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/management-notifications/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/management/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/management/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/message-counters/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/message-counters/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/message-group/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/message-group/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/message-priority/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/message-priority/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/no-consumer-buffering/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/no-consumer-buffering/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/paging/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/paging/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/perf/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/perf/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/pre-acknowledge/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/pre-acknowledge/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/producer-rate-limit/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh %*
+)
+
View
14 examples/jms/producer-rate-limit/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export OVERRIDE_ANT_HOME=../../../tools/ant
+
+if [ -f "../../../src/bin/build.sh" ]; then
+ # running from TRUNK
+ ../../../src/bin/build.sh "$@"
+else
+ # running from the distro
+ ../../../bin/build.sh "$@"
+fi
+
+
+
View
12 examples/jms/queue-message-redistribution/build.bat
@@ -0,0 +1,12 @@
+@echo off
+
+set "OVERRIDE_ANT_HOME=../../../tools/ant"
+
+if exist "../../../src/bin/build.sh" (
+ rem running from TRUNK
+ call ../../../src/bin/build.sh %*
+) else (
+ rem running from the distro
+ call ../../../bin/build.sh