[hornetq-commits] JBoss hornetq SVN: r8112 - in trunk: examples/core/embedded-remote and 75 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Oct 15 09:50:02 EDT 2009


Author: timfox
Date: 2009-10-15 09:50:01 -0400 (Thu, 15 Oct 2009)
New Revision: 8112

Modified:
   trunk/examples/core/embedded-remote/build.bat
   trunk/examples/core/embedded/build.bat
   trunk/examples/core/microcontainer/build.bat
   trunk/examples/core/perf/build.bat
   trunk/examples/javaee/ejb-jms-transaction/build.bat
   trunk/examples/javaee/hajndi/build.bat
   trunk/examples/javaee/jca-config/build.bat
   trunk/examples/javaee/jms-bridge/build.bat
   trunk/examples/javaee/mdb-bmt/build.bat
   trunk/examples/javaee/mdb-cmt-setrollbackonly/build.bat
   trunk/examples/javaee/mdb-cmt-tx-local/build.bat
   trunk/examples/javaee/mdb-cmt-tx-not-supported/build.bat
   trunk/examples/javaee/mdb-cmt-tx-required/build.bat
   trunk/examples/javaee/mdb-message-selector/build.bat
   trunk/examples/javaee/mdb-tx-send/build.bat
   trunk/examples/javaee/servlet-ssl/build.bat
   trunk/examples/javaee/servlet-transport/build.bat
   trunk/examples/javaee/xarecovery/build.bat
   trunk/examples/jms/applet/build.bat
   trunk/examples/jms/application-layer-failover/build.bat
   trunk/examples/jms/automatic-failover/build.bat
   trunk/examples/jms/bridge/build.bat
   trunk/examples/jms/browser/build.bat
   trunk/examples/jms/client-kickoff/build.bat
   trunk/examples/jms/client-side-load-balancing/build.bat
   trunk/examples/jms/clustered-durable-subscription/build.bat
   trunk/examples/jms/clustered-queue/build.bat
   trunk/examples/jms/clustered-standalone/build.bat
   trunk/examples/jms/clustered-topic/build.bat
   trunk/examples/jms/consumer-rate-limit/build.bat
   trunk/examples/jms/dead-letter/build.bat
   trunk/examples/jms/delayed-redelivery/build.bat
   trunk/examples/jms/divert/build.bat
   trunk/examples/jms/durable-subscription/build.bat
   trunk/examples/jms/embedded/build.bat
   trunk/examples/jms/expiry/build.bat
   trunk/examples/jms/http-transport/build.bat
   trunk/examples/jms/instantiate-connection-factory/build.bat
   trunk/examples/jms/interceptor/build.bat
   trunk/examples/jms/jaas/build.bat
   trunk/examples/jms/jmx/build.bat
   trunk/examples/jms/large-message/build.bat
   trunk/examples/jms/last-value-queue/build.bat
   trunk/examples/jms/management-notifications/build.bat
   trunk/examples/jms/management/build.bat
   trunk/examples/jms/message-counters/build.bat
   trunk/examples/jms/message-group/build.bat
   trunk/examples/jms/message-priority/build.bat
   trunk/examples/jms/no-consumer-buffering/build.bat
   trunk/examples/jms/paging/build.bat
   trunk/examples/jms/perf/build.bat
   trunk/examples/jms/pre-acknowledge/build.bat
   trunk/examples/jms/producer-rate-limit/build.bat
   trunk/examples/jms/queue-message-redistribution/build.bat
   trunk/examples/jms/queue-requestor/build.bat
   trunk/examples/jms/queue-selector/build.bat
   trunk/examples/jms/queue/build.bat
   trunk/examples/jms/reconnect-same-node/build.bat
   trunk/examples/jms/request-reply/build.bat
   trunk/examples/jms/scheduled-message/build.bat
   trunk/examples/jms/security/build.bat
   trunk/examples/jms/send-acknowledgements/build.bat
   trunk/examples/jms/ssl-enabled/build.bat
   trunk/examples/jms/static-selector-jms/build.bat
   trunk/examples/jms/static-selector/build.bat
   trunk/examples/jms/symmetric-cluster/build.bat
   trunk/examples/jms/temp-queue/build.bat
   trunk/examples/jms/topic-hierarchies/build.bat
   trunk/examples/jms/topic-selector-example1/build.bat
   trunk/examples/jms/topic-selector-example2/build.bat
   trunk/examples/jms/topic/build.bat
   trunk/examples/jms/transactional/build.bat
   trunk/examples/jms/xa-heuristic/build.bat
   trunk/examples/jms/xa-receive/build.bat
   trunk/examples/jms/xa-send/build.bat
   trunk/examples/jms/xa-with-jta/build.bat
   trunk/src/bin/build.bat
Log:
https://jira.jboss.org/jira/browse/HORNETQ-67

Modified: trunk/examples/core/embedded/build.bat
===================================================================
--- trunk/examples/core/embedded/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/core/embedded/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/core/embedded-remote/build.bat
===================================================================
--- trunk/examples/core/embedded-remote/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/core/embedded-remote/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/core/microcontainer/build.bat
===================================================================
--- trunk/examples/core/microcontainer/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/core/microcontainer/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,15 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="
+
+

Modified: trunk/examples/core/perf/build.bat
===================================================================
--- trunk/examples/core/perf/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/core/perf/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/ejb-jms-transaction/build.bat
===================================================================
--- trunk/examples/javaee/ejb-jms-transaction/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/ejb-jms-transaction/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/hajndi/build.bat
===================================================================
--- trunk/examples/javaee/hajndi/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/hajndi/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/jca-config/build.bat
===================================================================
--- trunk/examples/javaee/jca-config/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/jca-config/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/jms-bridge/build.bat
===================================================================
--- trunk/examples/javaee/jms-bridge/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/jms-bridge/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/mdb-bmt/build.bat
===================================================================
--- trunk/examples/javaee/mdb-bmt/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/mdb-bmt/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/mdb-cmt-setrollbackonly/build.bat
===================================================================
--- trunk/examples/javaee/mdb-cmt-setrollbackonly/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/mdb-cmt-setrollbackonly/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/mdb-cmt-tx-local/build.bat
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-local/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/mdb-cmt-tx-local/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/mdb-cmt-tx-not-supported/build.bat
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-not-supported/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/mdb-cmt-tx-not-supported/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/mdb-cmt-tx-required/build.bat
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-required/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/mdb-cmt-tx-required/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/mdb-message-selector/build.bat
===================================================================
--- trunk/examples/javaee/mdb-message-selector/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/mdb-message-selector/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/mdb-tx-send/build.bat
===================================================================
--- trunk/examples/javaee/mdb-tx-send/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/mdb-tx-send/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/servlet-ssl/build.bat
===================================================================
--- trunk/examples/javaee/servlet-ssl/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/servlet-ssl/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/servlet-transport/build.bat
===================================================================
--- trunk/examples/javaee/servlet-transport/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/servlet-transport/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/javaee/xarecovery/build.bat
===================================================================
--- trunk/examples/javaee/xarecovery/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/javaee/xarecovery/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/applet/build.bat
===================================================================
--- trunk/examples/jms/applet/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/applet/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/application-layer-failover/build.bat
===================================================================
--- trunk/examples/jms/application-layer-failover/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/application-layer-failover/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/automatic-failover/build.bat
===================================================================
--- trunk/examples/jms/automatic-failover/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/automatic-failover/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/bridge/build.bat
===================================================================
--- trunk/examples/jms/bridge/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/bridge/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/browser/build.bat
===================================================================
--- trunk/examples/jms/browser/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/browser/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/client-kickoff/build.bat
===================================================================
--- trunk/examples/jms/client-kickoff/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/client-kickoff/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/client-side-load-balancing/build.bat
===================================================================
--- trunk/examples/jms/client-side-load-balancing/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/client-side-load-balancing/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/clustered-durable-subscription/build.bat
===================================================================
--- trunk/examples/jms/clustered-durable-subscription/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/clustered-durable-subscription/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/clustered-queue/build.bat
===================================================================
--- trunk/examples/jms/clustered-queue/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/clustered-queue/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/clustered-standalone/build.bat
===================================================================
--- trunk/examples/jms/clustered-standalone/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/clustered-standalone/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/clustered-topic/build.bat
===================================================================
--- trunk/examples/jms/clustered-topic/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/clustered-topic/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/consumer-rate-limit/build.bat
===================================================================
--- trunk/examples/jms/consumer-rate-limit/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/consumer-rate-limit/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/dead-letter/build.bat
===================================================================
--- trunk/examples/jms/dead-letter/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/dead-letter/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/delayed-redelivery/build.bat
===================================================================
--- trunk/examples/jms/delayed-redelivery/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/delayed-redelivery/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/divert/build.bat
===================================================================
--- trunk/examples/jms/divert/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/divert/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/durable-subscription/build.bat
===================================================================
--- trunk/examples/jms/durable-subscription/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/durable-subscription/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/embedded/build.bat
===================================================================
--- trunk/examples/jms/embedded/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/embedded/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/expiry/build.bat
===================================================================
--- trunk/examples/jms/expiry/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/expiry/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/http-transport/build.bat
===================================================================
--- trunk/examples/jms/http-transport/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/http-transport/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/instantiate-connection-factory/build.bat
===================================================================
--- trunk/examples/jms/instantiate-connection-factory/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/instantiate-connection-factory/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/interceptor/build.bat
===================================================================
--- trunk/examples/jms/interceptor/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/interceptor/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/jaas/build.bat
===================================================================
--- trunk/examples/jms/jaas/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/jaas/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/jmx/build.bat
===================================================================
--- trunk/examples/jms/jmx/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/jmx/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/large-message/build.bat
===================================================================
--- trunk/examples/jms/large-message/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/large-message/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/last-value-queue/build.bat
===================================================================
--- trunk/examples/jms/last-value-queue/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/last-value-queue/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/management/build.bat
===================================================================
--- trunk/examples/jms/management/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/management/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/management-notifications/build.bat
===================================================================
--- trunk/examples/jms/management-notifications/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/management-notifications/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/message-counters/build.bat
===================================================================
--- trunk/examples/jms/message-counters/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/message-counters/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/message-group/build.bat
===================================================================
--- trunk/examples/jms/message-group/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/message-group/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/message-priority/build.bat
===================================================================
--- trunk/examples/jms/message-priority/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/message-priority/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/no-consumer-buffering/build.bat
===================================================================
--- trunk/examples/jms/no-consumer-buffering/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/no-consumer-buffering/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/paging/build.bat
===================================================================
--- trunk/examples/jms/paging/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/paging/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/perf/build.bat
===================================================================
--- trunk/examples/jms/perf/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/perf/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/pre-acknowledge/build.bat
===================================================================
--- trunk/examples/jms/pre-acknowledge/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/pre-acknowledge/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/producer-rate-limit/build.bat
===================================================================
--- trunk/examples/jms/producer-rate-limit/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/producer-rate-limit/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/queue/build.bat
===================================================================
--- trunk/examples/jms/queue/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/queue/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/queue-message-redistribution/build.bat
===================================================================
--- trunk/examples/jms/queue-message-redistribution/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/queue-message-redistribution/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/queue-requestor/build.bat
===================================================================
--- trunk/examples/jms/queue-requestor/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/queue-requestor/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/queue-selector/build.bat
===================================================================
--- trunk/examples/jms/queue-selector/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/queue-selector/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/reconnect-same-node/build.bat
===================================================================
--- trunk/examples/jms/reconnect-same-node/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/reconnect-same-node/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/request-reply/build.bat
===================================================================
--- trunk/examples/jms/request-reply/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/request-reply/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/scheduled-message/build.bat
===================================================================
--- trunk/examples/jms/scheduled-message/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/scheduled-message/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/security/build.bat
===================================================================
--- trunk/examples/jms/security/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/security/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/send-acknowledgements/build.bat
===================================================================
--- trunk/examples/jms/send-acknowledgements/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/send-acknowledgements/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/ssl-enabled/build.bat
===================================================================
--- trunk/examples/jms/ssl-enabled/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/ssl-enabled/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/static-selector/build.bat
===================================================================
--- trunk/examples/jms/static-selector/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/static-selector/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/static-selector-jms/build.bat
===================================================================
--- trunk/examples/jms/static-selector-jms/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/static-selector-jms/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/symmetric-cluster/build.bat
===================================================================
--- trunk/examples/jms/symmetric-cluster/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/symmetric-cluster/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/temp-queue/build.bat
===================================================================
--- trunk/examples/jms/temp-queue/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/temp-queue/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/topic/build.bat
===================================================================
--- trunk/examples/jms/topic/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/topic/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/topic-hierarchies/build.bat
===================================================================
--- trunk/examples/jms/topic-hierarchies/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/topic-hierarchies/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/topic-selector-example1/build.bat
===================================================================
--- trunk/examples/jms/topic-selector-example1/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/topic-selector-example1/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/topic-selector-example2/build.bat
===================================================================
--- trunk/examples/jms/topic-selector-example2/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/topic-selector-example2/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/transactional/build.bat
===================================================================
--- trunk/examples/jms/transactional/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/transactional/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/xa-heuristic/build.bat
===================================================================
--- trunk/examples/jms/xa-heuristic/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/xa-heuristic/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/xa-receive/build.bat
===================================================================
--- trunk/examples/jms/xa-receive/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/xa-receive/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/xa-send/build.bat
===================================================================
--- trunk/examples/jms/xa-send/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/xa-send/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/examples/jms/xa-with-jta/build.bat
===================================================================
--- trunk/examples/jms/xa-with-jta/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/examples/jms/xa-with-jta/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,12 +1,13 @@
 @echo off
 
-set "OVERRIDE_ANT_HOME=../../../tools/ant"
+set "OVERRIDE_ANT_HOME=..\..\..\tools\ant"
 
-if exist "../../../src/bin/build.sh" (
-   rem running from TRUNK
-   call ../../../src/bin/build.sh %*
+if exist "..\..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\..\src\bin\build.bat %*
 ) else (
-   rem running from the distro
-   call ../../../bin/build.sh %*
+   rem running from the distro
+   call ..\..\..\bin\build.bat %*
 )
 
+set "OVERRIDE_ANT_HOME="

Modified: trunk/src/bin/build.bat
===================================================================
--- trunk/src/bin/build.bat	2009-10-15 13:37:51 UTC (rev 8111)
+++ trunk/src/bin/build.bat	2009-10-15 13:50:01 UTC (rev 8112)
@@ -1,60 +1,61 @@
- at 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.  
-
-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
-
-if "x%OVERRIDE_ANT_HOME%" == "x" (
-  set "ANT_HOME=tools\ant"
-) 
-else (
-  set "ANT_HOME=%OVERRIDE_ANT_HOME" 
-)
-
+ at 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.  
+
+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
+
+if "x%OVERRIDE_ANT_HOME%" == "x" (
+  set "ANT_HOME=tools\ant"
+) else (
+ echo hit alternate
+ set "ANT_HOME=%OVERRIDE_ANT_HOME%" 
+)
+
 rem build HornetQ
 
-echo "Using the following ant version from %ANT_HOME%:"
+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
+echo calling %ANT_HOME%\bin\ant.bat -version
+call %ANT_HOME%\bin\ant.bat -version
+
+echo calling %ANT_HOME%\bin\ant.bat %* -Dhornetq.run_script=true
+call %ANT_HOME%\bin\ant.bat %* -Dhornetq.run_script=true
+
+rem Restore the original ANT_HOME values
+set "ANT_HOME=%ORIG_ANT_HOME%"
+
+echo Done



More information about the hornetq-commits mailing list