JBoss hornetq SVN: r8105 - in branches/hornetq_grouping: tests/src/org/hornetq/tests/integration/cluster/distribution and 1 other directories.
by do-not-reply@jboss.org
Author: ataylor
Date: 2009-10-14 06:13:49 -0400 (Wed, 14 Oct 2009)
New Revision: 8105
Removed:
branches/hornetq_grouping/tests/src/org/hornetq/tests/unit/core/postoffice/impl/BindingImplTest.java
Modified:
branches/hornetq_grouping/src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java
branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusterTestBase.java
branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusteredGroupingTest.java
Log:
fixes
Modified: branches/hornetq_grouping/src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java
===================================================================
--- branches/hornetq_grouping/src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java 2009-10-14 10:00:17 UTC (rev 8104)
+++ branches/hornetq_grouping/src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java 2009-10-14 10:13:49 UTC (rev 8105)
@@ -438,29 +438,33 @@
throws Exception
{
SimpleString groupId = (SimpleString) message.getProperty(MessageImpl.HDR_GROUP_ID);
- Response resp = groupingGroupingHandler.propose(new Proposal(groupId, null));
- if (resp == null)
+
+ for (Map.Entry<SimpleString, List<Binding>> entry : routingNameBindingMap.entrySet())
{
- for (Map.Entry<SimpleString, List<Binding>> entry : routingNameBindingMap.entrySet())
+ SimpleString routingName = entry.getKey();
+
+ List<Binding> bindings = entry.getValue();
+
+ if (bindings == null)
{
- SimpleString routingName = entry.getKey();
+ // The value can become null if it's concurrently removed while we're iterating - this is expected
+ // ConcurrentHashMap behaviour!
+ continue;
+ }
- List<Binding> bindings = entry.getValue();
+ SimpleString fullID = groupId.concat(".").concat(routingName);
- if (bindings == null)
- {
- // The value can become null if it's concurrently removed while we're iterating - this is expected
- // ConcurrentHashMap behaviour!
- continue;
- }
+ Response resp = groupingGroupingHandler.propose(new Proposal(fullID, null));
+ if (resp == null)
+ {
+ Binding chosen = getNextBinding(message, routingName, bindings);
- Binding chosen = getNextBinding(message, routingName, bindings);
-
- resp = groupingGroupingHandler.propose(new Proposal(groupId, chosen.getClusterName()));
-
+ resp = groupingGroupingHandler.propose(new Proposal(fullID, chosen.getClusterName()));
+
if (!resp.getChosen().equals(chosen.getClusterName()))
{
+ chosen = null;
for (Binding binding : bindings)
{
if (binding.getClusterName().equals(resp.getChosen()))
@@ -477,15 +481,13 @@
chosen.getBindable().preroute(message, tx);
chosen.getBindable().route(message, tx);
}
+ else
+ {
+ throw new HornetQException(HornetQException.QUEUE_DOES_NOT_EXIST, "queue " + resp.getChosen() + " has been removed cannot deliver message, queues should not be removed when grouping is used");
+ }
}
- }
- else
- {
- for (Map.Entry<SimpleString, List<Binding>> entry : routingNameBindingMap.entrySet())
+ else
{
- SimpleString routingName = entry.getKey();
-
- List<Binding> bindings = entry.getValue();
Binding chosen = null;
for (Binding binding : bindings)
{
@@ -506,7 +508,11 @@
throw new HornetQException(HornetQException.QUEUE_DOES_NOT_EXIST, "queue " + resp.getChosen() + " has been removed cannot deliver message, queues should not be removed when grouping is used");
}
}
+
+
}
+
+
}
private final int incrementPos(int pos, int length)
Modified: branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusterTestBase.java
===================================================================
--- branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusterTestBase.java 2009-10-14 10:00:17 UTC (rev 8104)
+++ branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusterTestBase.java 2009-10-14 10:13:49 UTC (rev 8105)
@@ -453,7 +453,7 @@
}
- protected void setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE type, int node)
+ protected void setUpGroupHandler(GroupingHandlerConfiguration.TYPE type, int node)
{
GroupingHandler groupingHandler;
if(type == GroupingHandlerConfiguration.TYPE.LOCAL)
Modified: branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusteredGroupingTest.java
===================================================================
--- branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusteredGroupingTest.java 2009-10-14 10:00:17 UTC (rev 8104)
+++ branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusteredGroupingTest.java 2009-10-14 10:13:49 UTC (rev 8105)
@@ -39,9 +39,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -95,9 +95,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -154,9 +154,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -216,9 +216,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -276,9 +276,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -340,9 +340,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -360,7 +360,11 @@
waitForBindings(1, "queues.testaddress", 1, 1, true);
waitForBindings(2, "queues.testaddress", 1, 1, true);
+ waitForBindings(0, "queues.testaddress", 2, 2, false);
+ waitForBindings(1, "queues.testaddress", 2, 2, false);
+ waitForBindings(2, "queues.testaddress", 2, 2, false);
+
sendInRange(0, "queues.testaddress", 0, 10, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
sendInRange(0, "queues.testaddress", 10, 20, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id2"));
sendInRange(0, "queues.testaddress", 20, 30, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id3"));
@@ -396,9 +400,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -486,9 +490,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -516,9 +520,6 @@
sendInRange(2, "queues.testaddress", 10, 20, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
-
- sendInRange(0, "queues.testaddress", 20, 30, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
-
startServers(1);
addConsumer(1, 1, "queue0", null);
@@ -526,7 +527,6 @@
verifyReceiveAllInRange(10, 20, 1);
- verifyReceiveAllInRange(20, 30, 1);
System.out.println("*****************************************************************************");
}
@@ -556,9 +556,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -630,9 +630,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -665,13 +665,14 @@
sendInRange(2, "queues.testaddress", 10, 20, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
- sendInRange(0, "queues.testaddress", 20, 30, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
-
addConsumer(1, 1, "queue0", null);
waitForBindings(1, "queues.testaddress", 1, 1, true);
verifyReceiveAllInRange(10, 20, 1);
+
+
+ sendInRange(0, "queues.testaddress", 20, 30, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
verifyReceiveAllInRange(20, 30, 1);
System.out.println("*****************************************************************************");
@@ -702,9 +703,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
@@ -771,9 +772,9 @@
try
{
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
- setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupHandler(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
setupSessionFactory(0, isNetty());
setupSessionFactory(1, isNetty());
Deleted: branches/hornetq_grouping/tests/src/org/hornetq/tests/unit/core/postoffice/impl/BindingImplTest.java
===================================================================
--- branches/hornetq_grouping/tests/src/org/hornetq/tests/unit/core/postoffice/impl/BindingImplTest.java 2009-10-14 10:00:17 UTC (rev 8104)
+++ branches/hornetq_grouping/tests/src/org/hornetq/tests/unit/core/postoffice/impl/BindingImplTest.java 2009-10-14 10:13:49 UTC (rev 8105)
@@ -1,1517 +0,0 @@
-/*
- * 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 this file except in compliance
- * with the License. You may obtain a copy of the License at
- * http://www.apache.org/licenses/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.
- */
-
-package org.hornetq.tests.unit.core.postoffice.impl;
-
-import java.io.InputStream;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.concurrent.Executor;
-
-import javax.transaction.xa.Xid;
-
-import org.hornetq.core.exception.HornetQException;
-import org.hornetq.core.filter.Filter;
-import org.hornetq.core.postoffice.Binding;
-import org.hornetq.core.postoffice.BindingType;
-import org.hornetq.core.postoffice.impl.BindingsImpl;
-import org.hornetq.core.remoting.Channel;
-import org.hornetq.core.remoting.spi.HornetQBuffer;
-import org.hornetq.core.server.Bindable;
-import org.hornetq.core.server.Consumer;
-import org.hornetq.core.server.Distributor;
-import org.hornetq.core.server.MessageReference;
-import org.hornetq.core.server.Queue;
-import org.hornetq.core.server.ServerMessage;
-import org.hornetq.core.transaction.Transaction;
-import org.hornetq.core.transaction.TransactionOperation;
-import org.hornetq.tests.util.UnitTestCase;
-import org.hornetq.tests.unit.core.server.impl.fakes.FakePostOffice;
-import org.hornetq.utils.SimpleString;
-import org.hornetq.utils.TypedProperties;
-
-/**
- * A BindingImplTest
- *
- * @author clebert
- *
- * Created Mar 12, 2009 9:14:46 PM
- *
- *
- */
-public class BindingImplTest extends UnitTestCase
-{
-
- // Constants -----------------------------------------------------
-
- // Attributes ----------------------------------------------------
-
- // Static --------------------------------------------------------
-
- // Constructors --------------------------------------------------
-
- // Public --------------------------------------------------------
-
- public void testRemoveWhileRouting() throws Exception
- {
- // It would require many iterations before getting a failure
- for (int i = 0; i < 500; i++)
- {
- internalTest(true);
- }
- }
-
- public void testRemoveWhileRedistributing() throws Exception
- {
- // It would require many iterations before getting a failure
- for (int i = 0; i < 500; i++)
- {
- internalTest(false);
- }
- }
-
- private void internalTest(final boolean route) throws Exception
- {
- final FakeBinding fake = new FakeBinding(new SimpleString("a"));
-
- final BindingsImpl bind = new BindingsImpl(new FakePostOffice());
- bind.addBinding(fake);
- bind.addBinding(new FakeBinding(new SimpleString("a")));
- bind.addBinding(new FakeBinding(new SimpleString("a")));
-
- Thread t = new Thread()
- {
- @Override
- public void run()
- {
- try
- {
- bind.removeBinding(fake);
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
- };
-
- Queue queue = new FakeQueue(new SimpleString("a"));
- t.start();
-
- for (int i = 0; i < 100; i++)
- {
- if (route)
- {
- bind.route(new FakeMessage(), new FakeTransaction());
- }
- else
- {
- bind.redistribute(new FakeMessage(), queue, new FakeTransaction());
- }
- }
- }
-
- class FakeTransaction implements Transaction
- {
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#addOperation(org.hornetq.core.transaction.TransactionOperation)
- */
- public void addOperation(final TransactionOperation sync)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#commit()
- */
- public void commit() throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#commit(boolean)
- */
- public void commit(final boolean onePhase) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#getCreateTime()
- */
- public long getCreateTime()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#getID()
- */
- public long getID()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#getOperationsCount()
- */
- public int getOperationsCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#getProperty(int)
- */
- public Object getProperty(final int index)
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#getState()
- */
- public State getState()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#getXid()
- */
- public Xid getXid()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#markAsRollbackOnly(org.hornetq.core.exception.HornetQException)
- */
- public void markAsRollbackOnly(final HornetQException exception)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#prepare()
- */
- public void prepare() throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#putProperty(int, java.lang.Object)
- */
- public void putProperty(final int index, final Object property)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#removeOperation(org.hornetq.core.transaction.TransactionOperation)
- */
- public void removeOperation(final TransactionOperation sync)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#resume()
- */
- public void resume()
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#rollback()
- */
- public void rollback() throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#setState(org.hornetq.core.transaction.Transaction.State)
- */
- public void setState(final State state)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#suspend()
- */
- public void suspend()
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.transaction.Transaction#getDistinctQueues()
- */
- public Set<Queue> getDistinctQueues()
- {
- return Collections.emptySet();
- }
-
- }
-
- class FakeMessage implements ServerMessage
- {
-
- public Map<String, Object> toMap()
- {
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#copy(long)
- */
- public ServerMessage copy(final long newID) throws Exception
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#copy()
- */
- public ServerMessage copy() throws Exception
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#createReference(org.hornetq.core.server.Queue)
- */
- public MessageReference createReference(final Queue queue)
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#decrementDurableRefCount()
- */
- public int decrementDurableRefCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#decrementRefCount()
- */
- public int decrementRefCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#getMemoryEstimate()
- */
- public int getMemoryEstimate()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#getRefCount()
- */
- public int getRefCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#incrementDurableRefCount()
- */
- public int incrementDurableRefCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#incrementRefCount()
- */
- public int incrementRefCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#isLargeMessage()
- */
- public boolean isLargeMessage()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#isStored()
- */
- public boolean isStored()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#setMessageID(long)
- */
- public void setMessageID(final long id)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.ServerMessage#setStored()
- */
- public void setStored()
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#containsProperty(org.hornetq.utils.SimpleString)
- */
- public boolean containsProperty(final SimpleString key)
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#decode(org.hornetq.core.remoting.spi.HornetQBuffer)
- */
- public void decode(final HornetQBuffer buffer)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#decodeBody(org.hornetq.core.remoting.spi.HornetQBuffer)
- */
- public void decodeBody(final HornetQBuffer buffer)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#decodeProperties(org.hornetq.core.remoting.spi.HornetQBuffer)
- */
- public void decodeProperties(final HornetQBuffer buffer)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#encode(org.hornetq.core.remoting.spi.HornetQBuffer)
- */
- public void encode(final HornetQBuffer buffer)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#encodeBody(org.hornetq.core.remoting.spi.HornetQBuffer, long, int)
- */
- public void encodeBody(final HornetQBuffer buffer, final long start, final int size)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#encodeBody(org.hornetq.core.remoting.spi.HornetQBuffer)
- */
- public void encodeBody(final HornetQBuffer buffer)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#encodeProperties(org.hornetq.core.remoting.spi.HornetQBuffer)
- */
- public void encodeProperties(final HornetQBuffer buffer)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getBody()
- */
- public HornetQBuffer getBody()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getBodySize()
- */
- public int getBodySize()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getDestination()
- */
- public SimpleString getDestination()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getEncodeSize()
- */
- public int getEncodeSize()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getExpiration()
- */
- public long getExpiration()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getMessageID()
- */
- public long getMessageID()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getPriority()
- */
- public byte getPriority()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getProperties()
- */
- public TypedProperties getProperties()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getPropertiesEncodeSize()
- */
- public int getPropertiesEncodeSize()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getProperty(org.hornetq.utils.SimpleString)
- */
- public Object getProperty(final SimpleString key)
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getPropertyNames()
- */
- public Set<SimpleString> getPropertyNames()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getTimestamp()
- */
- public long getTimestamp()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getType()
- */
- public byte getType()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#isDurable()
- */
- public boolean isDurable()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#isExpired()
- */
- public boolean isExpired()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putBooleanProperty(org.hornetq.utils.SimpleString, boolean)
- */
- public void putBooleanProperty(final SimpleString key, final boolean value)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putByteProperty(org.hornetq.utils.SimpleString, byte)
- */
- public void putByteProperty(final SimpleString key, final byte value)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putBytesProperty(org.hornetq.utils.SimpleString, byte[])
- */
- public void putBytesProperty(final SimpleString key, final byte[] value)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putDoubleProperty(org.hornetq.utils.SimpleString, double)
- */
- public void putDoubleProperty(final SimpleString key, final double value)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putFloatProperty(org.hornetq.utils.SimpleString, float)
- */
- public void putFloatProperty(final SimpleString key, final float value)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putIntProperty(org.hornetq.utils.SimpleString, int)
- */
- public void putIntProperty(final SimpleString key, final int value)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putLongProperty(org.hornetq.utils.SimpleString, long)
- */
- public void putLongProperty(final SimpleString key, final long value)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putShortProperty(org.hornetq.utils.SimpleString, short)
- */
- public void putShortProperty(final SimpleString key, final short value)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putStringProperty(org.hornetq.utils.SimpleString, org.hornetq.utils.SimpleString)
- */
- public void putStringProperty(final SimpleString key, final SimpleString value)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putTypedProperties(org.hornetq.utils.TypedProperties)
- */
- public void putTypedProperties(final TypedProperties properties)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#removeProperty(org.hornetq.utils.SimpleString)
- */
- public Object removeProperty(final SimpleString key)
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#setBody(org.hornetq.core.remoting.spi.HornetQBuffer)
- */
- public void setBody(final HornetQBuffer body)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#setDestination(org.hornetq.utils.SimpleString)
- */
- public void setDestination(final SimpleString destination)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#setDurable(boolean)
- */
- public void setDurable(final boolean durable)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#setExpiration(long)
- */
- public void setExpiration(final long expiration)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#setPriority(byte)
- */
- public void setPriority(final byte priority)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#setTimestamp(long)
- */
- public void setTimestamp(final long timestamp)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getBodyInputStream()
- */
- public InputStream getBodyInputStream()
- {
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#setBodyInputStream(java.io.InputStream)
- */
- public void setBodyInputStream(InputStream stream)
- {
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getLargeBodySize()
- */
- public long getLargeBodySize()
- {
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#containsProperty(java.lang.String)
- */
- public boolean containsProperty(String key)
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#getProperty(java.lang.String)
- */
- public Object getProperty(String key)
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putBooleanProperty(java.lang.String, boolean)
- */
- public void putBooleanProperty(String key, boolean value)
- {
-
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putByteProperty(java.lang.String, byte)
- */
- public void putByteProperty(String key, byte value)
- {
-
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putBytesProperty(java.lang.String, byte[])
- */
- public void putBytesProperty(String key, byte[] value)
- {
-
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putDoubleProperty(java.lang.String, double)
- */
- public void putDoubleProperty(String key, double value)
- {
-
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putFloatProperty(java.lang.String, float)
- */
- public void putFloatProperty(String key, float value)
- {
-
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putIntProperty(java.lang.String, int)
- */
- public void putIntProperty(String key, int value)
- {
-
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putLongProperty(java.lang.String, long)
- */
- public void putLongProperty(String key, long value)
- {
-
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putShortProperty(java.lang.String, short)
- */
- public void putShortProperty(String key, short value)
- {
-
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#putStringProperty(java.lang.String, java.lang.String)
- */
- public void putStringProperty(String key, String value)
- {
-
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.message.Message#removeProperty(java.lang.String)
- */
- public Object removeProperty(String key)
- {
-
- return null;
- }
-
- }
-
- class FakeFilter implements Filter
- {
-
- /* (non-Javadoc)
- * @see org.hornetq.core.filter.Filter#getFilterString()
- */
- public SimpleString getFilterString()
- {
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.filter.Filter#match(org.hornetq.core.server.ServerMessage)
- */
- public boolean match(final ServerMessage message)
- {
- return false;
- }
-
- }
-
- class FakeBinding implements Binding
- {
-
- final SimpleString name;
-
- FakeBinding(final SimpleString name)
- {
- this.name = name;
- }
-
- public SimpleString getAddress()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#getBindable()
- */
- public Bindable getBindable()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#getClusterName()
- */
- public SimpleString getClusterName()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#getDistance()
- */
- public int getDistance()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#getFilter()
- */
- public Filter getFilter()
- {
- return new FakeFilter();
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#getID()
- */
- public int getID()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#getRoutingName()
- */
- public SimpleString getRoutingName()
- {
- return name;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#getType()
- */
- public BindingType getType()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#getUniqueName()
- */
- public SimpleString getUniqueName()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#isExclusive()
- */
- public boolean isExclusive()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#isHighAcceptPriority(org.hornetq.core.server.ServerMessage)
- */
- public boolean isHighAcceptPriority(final ServerMessage message)
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#setID(int)
- */
- public void setID(final int id)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.postoffice.Binding#willRoute(org.hornetq.core.server.ServerMessage)
- */
- public void willRoute(final ServerMessage message)
- {
-
- }
-
- }
-
- class FakeQueue implements Queue
- {
- private SimpleString name;
-
- FakeQueue(SimpleString name)
- {
- this.name = name;
- }
-
- public void setExpiryAddress(SimpleString expiryAddress)
- {
- // TODO Auto-generated method stub
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#acknowledge(org.hornetq.core.server.MessageReference)
- */
- public void acknowledge(MessageReference ref) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#acknowledge(org.hornetq.core.transaction.Transaction, org.hornetq.core.server.MessageReference)
- */
- public void acknowledge(Transaction tx, MessageReference ref) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#activate()
- */
- public boolean activate()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#activateNow(java.util.concurrent.Executor)
- */
- public void activateNow(Executor executor)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#addConsumer(org.hornetq.core.server.Consumer)
- */
- public void addConsumer(Consumer consumer) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#addFirst(org.hornetq.core.server.MessageReference)
- */
- public void addFirst(MessageReference ref)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#addLast(org.hornetq.core.server.MessageReference)
- */
- public void addLast(MessageReference ref)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#addRedistributor(long, java.util.concurrent.Executor, org.hornetq.core.remoting.Channel)
- */
- public void addRedistributor(long delay, Executor executor, Channel replicatingChannel)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#cancel(org.hornetq.core.transaction.Transaction, org.hornetq.core.server.MessageReference)
- */
- public void cancel(Transaction tx, MessageReference ref) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#cancel(org.hornetq.core.server.MessageReference)
- */
- public void cancel(MessageReference reference) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#cancelRedistributor()
- */
- public void cancelRedistributor() throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#changeReferencePriority(long, byte)
- */
- public boolean changeReferencePriority(long messageID, byte newPriority) throws Exception
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#checkDLQ(org.hornetq.core.server.MessageReference)
- */
- public boolean checkDLQ(MessageReference ref) throws Exception
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#consumerFailedOver()
- */
- public boolean consumerFailedOver()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#deleteAllReferences()
- */
- public int deleteAllReferences() throws Exception
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#deleteMatchingReferences(org.hornetq.core.filter.Filter)
- */
- public int deleteMatchingReferences(Filter filter) throws Exception
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#deleteReference(long)
- */
- public boolean deleteReference(long messageID) throws Exception
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#deliverAsync(java.util.concurrent.Executor)
- */
- public void deliverAsync(Executor executor)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#deliverNow()
- */
- public void deliverNow()
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#expire(org.hornetq.core.server.MessageReference)
- */
- public void expire(MessageReference ref) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#expireReference(long)
- */
- public boolean expireReference(long messageID) throws Exception
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#expireReferences(org.hornetq.core.filter.Filter)
- */
- public int expireReferences(Filter filter) throws Exception
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#expireReferences()
- */
- public void expireReferences() throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getConsumerCount()
- */
- public int getConsumerCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getConsumers()
- */
- public Set<Consumer> getConsumers()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getDeliveringCount()
- */
- public int getDeliveringCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getDistributionPolicy()
- */
- public Distributor getDistributionPolicy()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getFilter()
- */
- public Filter getFilter()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getMessageCount()
- */
- public int getMessageCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getMessagesAdded()
- */
- public int getMessagesAdded()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getName()
- */
- public SimpleString getName()
- {
- return name;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getPersistenceID()
- */
- public long getPersistenceID()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getReference(long)
- */
- public MessageReference getReference(long id)
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getScheduledCount()
- */
- public int getScheduledCount()
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#getScheduledMessages()
- */
- public List<MessageReference> getScheduledMessages()
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#isBackup()
- */
- public boolean isBackup()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#isDurable()
- */
- public boolean isDurable()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#isTemporary()
- */
- public boolean isTemporary()
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#list(org.hornetq.core.filter.Filter)
- */
- public List<MessageReference> list(Filter filter)
- {
-
- return null;
- }
-
- public Iterator<MessageReference> iterator()
- {
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#moveReference(long, org.hornetq.utils.SimpleString)
- */
- public boolean moveReference(long messageID, SimpleString toAddress) throws Exception
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#moveReferences(org.hornetq.core.filter.Filter, org.hornetq.utils.SimpleString)
- */
- public int moveReferences(Filter filter, SimpleString toAddress) throws Exception
- {
-
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#reacknowledge(org.hornetq.core.transaction.Transaction, org.hornetq.core.server.MessageReference)
- */
- public void reacknowledge(Transaction tx, MessageReference ref) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#referenceHandled()
- */
- public void referenceHandled()
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#removeConsumer(org.hornetq.core.server.Consumer)
- */
- public boolean removeConsumer(Consumer consumer) throws Exception
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#removeFirstReference(long)
- */
- public MessageReference removeFirstReference(long id) throws Exception
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#removeReferenceWithID(long)
- */
- public MessageReference removeReferenceWithID(long id) throws Exception
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#reroute(org.hornetq.core.server.ServerMessage, org.hornetq.core.transaction.Transaction)
- */
- public MessageReference reroute(ServerMessage message, Transaction tx) throws Exception
- {
-
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#sendMessageToDeadLetterAddress(long)
- */
- public boolean sendMessageToDeadLetterAddress(long messageID) throws Exception
- {
-
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#setBackup()
- */
- public void setBackup()
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#setDistributionPolicy(org.hornetq.core.server.Distributor)
- */
- public void setDistributionPolicy(Distributor policy)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#setPersistenceID(long)
- */
- public void setPersistenceID(long id)
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Bindable#preroute(org.hornetq.core.server.ServerMessage, org.hornetq.core.transaction.Transaction)
- */
- public void preroute(ServerMessage message, Transaction tx) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Bindable#route(org.hornetq.core.server.ServerMessage, org.hornetq.core.transaction.Transaction)
- */
- public void route(ServerMessage message, Transaction tx) throws Exception
- {
-
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#lock()
- */
- public void lockDelivery()
- {
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.server.Queue#unlock()
- */
- public void unlockDelivery()
- {
- }
-
- }
-
- // Package protected ---------------------------------------------
-
- // Protected -----------------------------------------------------
-
- // Private -------------------------------------------------------
-
- // Inner classes -------------------------------------------------
-
-}
14 years, 7 months
JBoss hornetq SVN: r8104 - trunk/docs/quickstart-guide/en.
by do-not-reply@jboss.org
Author: jmesnil
Date: 2009-10-14 06:00:17 -0400 (Wed, 14 Oct 2009)
New Revision: 8104
Modified:
trunk/docs/quickstart-guide/en/about.xml
Log:
documentation
* in quickstart-guide, removed link to user-manual section
Modified: trunk/docs/quickstart-guide/en/about.xml
===================================================================
--- trunk/docs/quickstart-guide/en/about.xml 2009-10-14 09:31:42 UTC (rev 8103)
+++ trunk/docs/quickstart-guide/en/about.xml 2009-10-14 10:00:17 UTC (rev 8104)
@@ -27,11 +27,6 @@
performance, clustered, asynchronous messaging system.</para>
</listitem>
<listitem>
- <para>HornetQ is an example of Message Oriented Middleware (MoM) For a description of
- MoMs and other messaging concepts please see the <xref linkend="messaging-concepts"
- />.</para>
- </listitem>
- <listitem>
<para>For answers to more questions about what HornetQ is and isn't please visit
the <ulink url="http://www.jboss.org/community/wiki/HornetQGeneralFAQs">FAQs wiki
page</ulink>.</para>
@@ -40,8 +35,8 @@
<para>Why use HornetQ? Here are just a few of the reasons:</para>
<itemizedlist>
<listitem>
- <para>100% open source software. HornetQ is licenced using the Apache Software License v
- 2.0 to minimise barriers to adoption.</para>
+ <para>100% open source software. HornetQ is licenced using the Apache Software License v2.0
+ to minimise barriers to adoption.</para>
</listitem>
<listitem>
<para>HornetQ is designed with usability in mind.</para>
14 years, 7 months
JBoss hornetq SVN: r8103 - in trunk: src/main/org/hornetq/jms/client and 1 other directories.
by do-not-reply@jboss.org
Author: timfox
Date: 2009-10-14 05:31:42 -0400 (Wed, 14 Oct 2009)
New Revision: 8103
Modified:
trunk/src/main/org/hornetq/integration/transports/netty/NettyConnector.java
trunk/src/main/org/hornetq/jms/client/HornetQConnection.java
trunk/tests/src/org/hornetq/tests/integration/jms/ManualReconnectionToSingleServerTest.java
Log:
a couple of tweaks
Modified: trunk/src/main/org/hornetq/integration/transports/netty/NettyConnector.java
===================================================================
--- trunk/src/main/org/hornetq/integration/transports/netty/NettyConnector.java 2009-10-14 09:13:40 UTC (rev 8102)
+++ trunk/src/main/org/hornetq/integration/transports/netty/NettyConnector.java 2009-10-14 09:31:42 UTC (rev 8103)
@@ -128,12 +128,11 @@
private ConcurrentMap<Object, Connection> connections = new ConcurrentHashMap<Object, Connection>();
private final String servletPath;
-
+
private final VirtualExecutorService virtualExecutor;
private ScheduledExecutorService scheduledThreadPool;
-
// Static --------------------------------------------------------
// Constructors --------------------------------------------------
@@ -224,10 +223,10 @@
this.tcpReceiveBufferSize = ConfigurationHelper.getIntProperty(TransportConstants.TCP_RECEIVEBUFFER_SIZE_PROPNAME,
TransportConstants.DEFAULT_TCP_RECEIVEBUFFER_SIZE,
configuration);
-
- virtualExecutor = new VirtualExecutorService(threadPool);
-
- this.scheduledThreadPool = scheduledThreadPool;
+
+ virtualExecutor = new VirtualExecutorService(threadPool);
+
+ this.scheduledThreadPool = scheduledThreadPool;
}
public synchronized void start()
@@ -235,10 +234,10 @@
if (channelFactory != null)
{
return;
- }
-
+ }
+
if (useNio)
- {
+ {
channelFactory = new NioClientSocketChannelFactory(virtualExecutor, virtualExecutor);
}
else
@@ -287,7 +286,7 @@
context = null; // Unused
}
- if(context != null && useServlet)
+ if (context != null && useServlet)
{
bootstrap.setOption("sslContext", context);
}
@@ -312,9 +311,11 @@
return pipeline;
}
});
- if(!Version.ID.equals(VersionLoader.getVersion().getNettyVersion()))
+ if (!Version.ID.equals(VersionLoader.getVersion().getNettyVersion()))
{
- log.warn("Unexpected Netty Version was expecting " + VersionLoader.getVersion().getNettyVersion() + " using " + Version.ID);
+ log.warn("Unexpected Netty Version was expecting " + VersionLoader.getVersion().getNettyVersion() +
+ " using " +
+ Version.ID);
}
log.debug("Started Netty Connector version " + Version.ID);
}
@@ -366,7 +367,7 @@
}
}
address = new InetSocketAddress(host, port);
-
+
ChannelFuture future = bootstrap.connect(address);
future.awaitUninterruptibly();
@@ -408,12 +409,12 @@
else
{
Throwable t = future.getCause();
-
+
if (t != null && !(t instanceof ConnectException))
{
log.error("Failed to create netty connection", future.getCause());
}
-
+
return null;
}
}
@@ -469,7 +470,10 @@
if (httpClientIdleScanPeriod > 0)
{
task = new HttpIdleTimer();
- java.util.concurrent.Future<?> future = scheduledThreadPool.scheduleAtFixedRate(task, httpClientIdleScanPeriod, httpClientIdleScanPeriod, TimeUnit.MILLISECONDS);
+ java.util.concurrent.Future<?> future = scheduledThreadPool.scheduleAtFixedRate(task,
+ httpClientIdleScanPeriod,
+ httpClientIdleScanPeriod,
+ TimeUnit.MILLISECONDS);
task.setFuture(future);
}
}
@@ -548,6 +552,7 @@
private class HttpIdleTimer implements Runnable
{
private boolean closed = false;
+
private java.util.concurrent.Future<?> future;
public synchronized void run()
@@ -556,7 +561,7 @@
{
return;
}
-
+
if (!waitingGet && System.currentTimeMillis() > lastSendTime + httpMaxClientIdleTime)
{
HttpRequest httpRequest = new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, url);
@@ -569,15 +574,15 @@
{
this.future = future;
}
-
+
public void close()
{
if (future != null)
- {
+ {
future.cancel(false);
}
-
- closed = true;
+
+ closed = true;
}
}
}
Modified: trunk/src/main/org/hornetq/jms/client/HornetQConnection.java
===================================================================
--- trunk/src/main/org/hornetq/jms/client/HornetQConnection.java 2009-10-14 09:13:40 UTC (rev 8102)
+++ trunk/src/main/org/hornetq/jms/client/HornetQConnection.java 2009-10-14 09:31:42 UTC (rev 8103)
@@ -243,17 +243,15 @@
public synchronized void close() throws JMSException
{
- log.info("Closing jms connection");
if (closed)
{
- log.info("Already closed");
return;
}
try
{
for (HornetQSession session : new HashSet<HornetQSession>(sessions))
- {
+ {
session.close();
}
@@ -279,8 +277,7 @@
finally
{
if (initialSession != null)
- {
- log.info("closing initial session");
+ {
initialSession.close();
}
}
Modified: trunk/tests/src/org/hornetq/tests/integration/jms/ManualReconnectionToSingleServerTest.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/integration/jms/ManualReconnectionToSingleServerTest.java 2009-10-14 09:13:40 UTC (rev 8102)
+++ trunk/tests/src/org/hornetq/tests/integration/jms/ManualReconnectionToSingleServerTest.java 2009-10-14 09:31:42 UTC (rev 8103)
@@ -84,9 +84,9 @@
private CountDownLatch reconnectionLatch = new CountDownLatch(1);
- private boolean afterRestart = false;
+ private volatile boolean afterRestart = false;
- private boolean receivedMessagesAfterRestart = false;
+ private volatile boolean receivedMessagesAfterRestart = false;
private int callTimeout;
@@ -98,7 +98,7 @@
{
receivedMessagesAfterRestart = true;
}
- System.out.println(receivedMessagesAfterRestart + " " + msg);
+ log.info(receivedMessagesAfterRestart + " " + msg);
}
};
14 years, 7 months
JBoss hornetq SVN: r8102 - in branches/hornetq_grouping: examples/javaee and 2 other directories.
by do-not-reply@jboss.org
Author: ataylor
Date: 2009-10-14 05:13:40 -0400 (Wed, 14 Oct 2009)
New Revision: 8102
Modified:
branches/hornetq_grouping/examples/javaee/hornetq-javaee-examples.iml
branches/hornetq_grouping/hornetq.iml
branches/hornetq_grouping/src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java
branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusterTestBase.java
branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusteredGroupingTest.java
Log:
fixes
Modified: branches/hornetq_grouping/examples/javaee/hornetq-javaee-examples.iml
===================================================================
--- branches/hornetq_grouping/examples/javaee/hornetq-javaee-examples.iml 2009-10-14 08:59:08 UTC (rev 8101)
+++ branches/hornetq_grouping/examples/javaee/hornetq-javaee-examples.iml 2009-10-14 09:13:40 UTC (rev 8102)
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module relativePaths="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
- <output url="file://$MODULE_DIR$/output/classes" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/ejb-jms-transaction/src" isTestSource="false" />
Modified: branches/hornetq_grouping/hornetq.iml
===================================================================
--- branches/hornetq_grouping/hornetq.iml 2009-10-14 08:59:08 UTC (rev 8101)
+++ branches/hornetq_grouping/hornetq.iml 2009-10-14 09:13:40 UTC (rev 8102)
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module relativePaths="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="true">
- <output url="file://$MODULE_DIR$/output/classes" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/src" isTestSource="false" />
Modified: branches/hornetq_grouping/src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java
===================================================================
--- branches/hornetq_grouping/src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java 2009-10-14 08:59:08 UTC (rev 8101)
+++ branches/hornetq_grouping/src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java 2009-10-14 09:13:40 UTC (rev 8102)
@@ -166,7 +166,7 @@
{
bindable.route(message, tx);
}
-
+
return true;
}
@@ -284,7 +284,7 @@
{
routed = routeFromCluster(message, tx);
}
- else if(groupingGroupingHandler != null && message.getProperty(MessageImpl.HDR_GROUP_ID)!= null)
+ else if (groupingGroupingHandler != null && message.getProperty(MessageImpl.HDR_GROUP_ID) != null)
{
routeUsingStrictOrdering(message, tx, groupingGroupingHandler);
}
@@ -305,127 +305,133 @@
continue;
}
- Integer ipos = routingNamePositions.get(routingName);
+ Binding theBinding = getNextBinding(message, routingName, bindings);
- int pos = ipos != null ? ipos.intValue() : 0;
- int length = bindings.size();
-
- int startPos = pos;
-
- Binding theBinding = null;
-
- int lastLowPriorityBinding = -1;
-
- while (true)
+ if (theBinding != null)
{
- Binding binding;
- try
- {
- binding = bindings.get(pos);
- }
- catch (IndexOutOfBoundsException e)
- {
- // This can occur if binding is removed while in route
- if (!bindings.isEmpty())
- {
- pos = 0;
- startPos = 0;
- length = bindings.size();
+ theBinding.willRoute(message);
- continue;
- }
- else
- {
- break;
- }
- }
+ chosen.add(theBinding.getBindable());
+ }
+ }
- Filter filter = binding.getFilter();
+ // TODO refactor to do this is one iteration
- if (filter == null || filter.match(message))
+ for (Bindable bindable : chosen)
{
- // bindings.length == 1 ==> only a local queue so we don't check for matching consumers (it's an
- // unnecessary overhead)
- if (length == 1 || routeWhenNoConsumers || binding.isHighAcceptPriority(message))
- {
- theBinding = binding;
+ bindable.preroute(message, tx);
+ }
- pos = incrementPos(pos, length);
+ for (Bindable bindable : chosen)
+ {
+ bindable.route(message, tx);
- break;
- }
- else
- {
- if (lastLowPriorityBinding == -1)
- {
- lastLowPriorityBinding = pos;
- }
- }
+ routed = true;
}
+ }
+ }
- pos = incrementPos(pos, length);
+ return routed;
+ }
- if (pos == startPos)
- {
- if (lastLowPriorityBinding != -1)
- {
- try
- {
- theBinding = bindings.get(pos);
- }
- catch (IndexOutOfBoundsException e)
- {
- // This can occur if binding is removed while in route
- if (!bindings.isEmpty())
- {
- pos = 0;
+ private Binding getNextBinding(ServerMessage message, SimpleString routingName, List<Binding> bindings)
+ {
+ Integer ipos = routingNamePositions.get(routingName);
- lastLowPriorityBinding = -1;
+ int pos = ipos != null ? ipos : 0;
- continue;
- }
- else
- {
- break;
- }
- }
+ int length = bindings.size();
- pos = lastLowPriorityBinding;
+ int startPos = pos;
- pos = incrementPos(pos, length);
- }
+ Binding theBinding = null;
+
+ int lastLowPriorityBinding = -1;
+
+ while (true)
+ {
+ Binding binding;
+ try
+ {
+ binding = bindings.get(pos);
+ }
+ catch (IndexOutOfBoundsException e)
+ {
+ // This can occur if binding is removed while in route
+ if (!bindings.isEmpty())
+ {
+ pos = 0;
+ startPos = 0;
+ length = bindings.size();
+
+ continue;
+ }
+ else
+ {
break;
}
}
- if (theBinding != null)
+ Filter filter = binding.getFilter();
+
+ if (filter == null || filter.match(message))
{
- theBinding.willRoute(message);
+ // bindings.length == 1 ==> only a local queue so we don't check for matching consumers (it's an
+ // unnecessary overhead)
+ if (length == 1 || routeWhenNoConsumers || binding.isHighAcceptPriority(message))
+ {
+ theBinding = binding;
- chosen.add(theBinding.getBindable());
- }
+ pos = incrementPos(pos, length);
- routingNamePositions.put(routingName, pos);
+ break;
+ }
+ else
+ {
+ if (lastLowPriorityBinding == -1)
+ {
+ lastLowPriorityBinding = pos;
+ }
+ }
}
- // TODO refactor to do this is one iteration
+ pos = incrementPos(pos, length);
- for (Bindable bindable : chosen)
+ if (pos == startPos)
+ {
+ if (lastLowPriorityBinding != -1)
{
- bindable.preroute(message, tx);
- }
+ try
+ {
+ theBinding = bindings.get(pos);
+ }
+ catch (IndexOutOfBoundsException e)
+ {
+ // This can occur if binding is removed while in route
+ if (!bindings.isEmpty())
+ {
+ pos = 0;
- for (Bindable bindable : chosen)
- {
- bindable.route(message, tx);
-
- routed = true;
+ lastLowPriorityBinding = -1;
+
+ continue;
+ }
+ else
+ {
+ break;
+ }
+ }
+
+ pos = lastLowPriorityBinding;
+
+ pos = incrementPos(pos, length);
}
+ break;
}
}
-
- return routed;
+ routingNamePositions.put(routingName, pos);
+ return theBinding;
}
private void routeUsingStrictOrdering(ServerMessage message, Transaction tx, GroupingHandler groupingGroupingHandler)
@@ -433,36 +439,27 @@
{
SimpleString groupId = (SimpleString) message.getProperty(MessageImpl.HDR_GROUP_ID);
Response resp = groupingGroupingHandler.propose(new Proposal(groupId, null));
- if(resp == null)
+ if (resp == null)
{
for (Map.Entry<SimpleString, List<Binding>> entry : routingNameBindingMap.entrySet())
{
SimpleString routingName = entry.getKey();
List<Binding> bindings = entry.getValue();
- Binding chosen = null;
- Binding lowestPriorityBinding = null;
- int lowestPriority = Integer.MAX_VALUE;
- for (Binding binding : bindings)
+
+ if (bindings == null)
{
- boolean bindingIsHighAcceptPriority = binding.isHighAcceptPriority(message);
- int distance = binding.getDistance();
- if((distance < lowestPriority))
- {
- lowestPriorityBinding = binding;
- lowestPriority = distance;
- if(bindingIsHighAcceptPriority)
- {
- chosen = binding;
- }
- }
+ // The value can become null if it's concurrently removed while we're iterating - this is expected
+ // ConcurrentHashMap behaviour!
+ continue;
}
- if(chosen == null)
- {
- chosen = lowestPriorityBinding;
- }
+
+
+ Binding chosen = getNextBinding(message, routingName, bindings);
+
resp = groupingGroupingHandler.propose(new Proposal(groupId, chosen.getClusterName()));
- if(!resp.getChosen().equals(chosen.getClusterName()))
+
+ if (!resp.getChosen().equals(chosen.getClusterName()))
{
for (Binding binding : bindings)
{
@@ -474,7 +471,7 @@
}
}
- if( chosen != null )
+ if (chosen != null)
{
chosen.willRoute(message);
chosen.getBindable().preroute(message, tx);
@@ -492,13 +489,13 @@
Binding chosen = null;
for (Binding binding : bindings)
{
- if(binding.getClusterName().equals(resp.getChosen()))
+ if (binding.getClusterName().equals(resp.getChosen()))
{
chosen = binding;
break;
}
}
- if( chosen != null)
+ if (chosen != null)
{
chosen.willRoute(message);
chosen.getBindable().preroute(message, tx);
Modified: branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusterTestBase.java
===================================================================
--- branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusterTestBase.java 2009-10-14 08:59:08 UTC (rev 8101)
+++ branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusterTestBase.java 2009-10-14 09:13:40 UTC (rev 8102)
@@ -51,6 +51,7 @@
import org.hornetq.core.server.group.GroupingHandler;
import org.hornetq.core.server.cluster.ClusterConnection;
import org.hornetq.core.server.cluster.RemoteQueueBinding;
+import org.hornetq.core.message.impl.MessageImpl;
import org.hornetq.integration.transports.netty.TransportConstants;
import org.hornetq.tests.util.ServiceTestBase;
import org.hornetq.utils.Pair;
@@ -481,6 +482,117 @@
verifyReceiveAllInRangeNotBefore(false, -1, msgStart, msgEnd, consumerIDs);
}
+ protected void verifyReceiveAllWithGroupIDRoundRobin(
+ int msgStart,
+ int msgEnd,
+ int... consumerIDs) throws Exception
+ {
+ verifyReceiveAllWithGroupIDRoundRobin(true, -1, msgStart, msgEnd, consumerIDs);
+ }
+
+ protected int verifyReceiveAllOnSingleConsumer(int msgStart,
+ int msgEnd,
+ int... consumerIDs) throws Exception
+ {
+ return verifyReceiveAllOnSingleConsumer(true, msgStart, msgEnd, consumerIDs);
+ }
+
+ protected void verifyReceiveAllWithGroupIDRoundRobin(boolean ack,
+ long firstReceiveTime,
+ int msgStart,
+ int msgEnd,
+ int... consumerIDs) throws Exception
+ {
+ boolean outOfOrder = false;
+ HashMap<SimpleString, Integer> groupIdsReceived = new HashMap<SimpleString, Integer>();
+ for (int i = 0; i < consumerIDs.length; i++)
+ {
+ ConsumerHolder holder = consumers[consumerIDs[i]];
+
+ if (holder == null)
+ {
+ throw new IllegalArgumentException("No consumer at " + consumerIDs[i]);
+ }
+
+ for (int j = msgStart; j < msgEnd; j++)
+ {
+ ClientMessage message = holder.consumer.receive(2000);
+
+ if (message == null)
+ {
+ log.info("*** dumping consumers:");
+
+ dumpConsumers();
+
+ assertNotNull("consumer " + consumerIDs[i] + " did not receive message " + j, message);
+ }
+
+ if (ack)
+ {
+ message.acknowledge();
+ }
+
+ if (firstReceiveTime != -1)
+ {
+ assertTrue("Message received too soon", System.currentTimeMillis() >= firstReceiveTime);
+ }
+
+ SimpleString id = (SimpleString) message.getProperty(MessageImpl.HDR_GROUP_ID);
+ if(groupIdsReceived.get(id) == null)
+ {
+ groupIdsReceived.put(id, i);
+ }
+ else if (groupIdsReceived.get(id) != i)
+ {
+ fail("consumer " + groupIdsReceived.get(id) + " already bound to groupid " + id + " received on consumer " + i);
+ }
+
+ }
+
+ }
+
+
+ }
+
+ protected int verifyReceiveAllOnSingleConsumer(boolean ack,
+ int msgStart,
+ int msgEnd,
+ int... consumerIDs) throws Exception
+ {
+ int groupIdsReceived = -1;
+ for (int i = 0; i < consumerIDs.length; i++)
+ {
+ ConsumerHolder holder = consumers[consumerIDs[i]];
+
+ if (holder == null)
+ {
+ throw new IllegalArgumentException("No consumer at " + consumerIDs[i]);
+ }
+ ClientMessage message = holder.consumer.receive(2000);
+ if (message != null)
+ {
+ groupIdsReceived = i;
+ for (int j = msgStart + 1; j < msgEnd; j++)
+ {
+ message = holder.consumer.receive(2000);
+
+ if (message == null)
+ {
+ fail("consumer " + i + " did not receive all messages");
+ }
+
+ if (ack)
+ {
+ message.acknowledge();
+ }
+ }
+ }
+
+ }
+ return groupIdsReceived;
+
+ }
+
protected void verifyReceiveAllInRangeNotBefore(boolean ack,
long firstReceiveTime,
int msgStart,
Modified: branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusteredGroupingTest.java
===================================================================
--- branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusteredGroupingTest.java 2009-10-14 08:59:08 UTC (rev 8101)
+++ branches/hornetq_grouping/tests/src/org/hornetq/tests/integration/cluster/distribution/ClusteredGroupingTest.java 2009-10-14 09:13:40 UTC (rev 8102)
@@ -228,17 +228,15 @@
createQueue(1, "queues.testaddress", "queue0", null, false);
createQueue(2, "queues.testaddress", "queue0", null, false);
- addConsumer(0, 0, "queue0", null);
addConsumer(1, 1, "queue0", null);
- addConsumer(2, 2, "queue0", null);
- waitForBindings(0, "queues.testaddress", 1, 1, true);
+ waitForBindings(0, "queues.testaddress", 1, 0, true);
waitForBindings(1, "queues.testaddress", 1, 1, true);
- waitForBindings(2, "queues.testaddress", 1, 1, true);
+ waitForBindings(2, "queues.testaddress", 1, 0, true);
- waitForBindings(0, "queues.testaddress", 2, 2, false);
- waitForBindings(1, "queues.testaddress", 2, 2, false);
- waitForBindings(2, "queues.testaddress", 2, 2, false);
+ waitForBindings(0, "queues.testaddress", 2, 1, false);
+ waitForBindings(1, "queues.testaddress", 2, 0, false);
+ waitForBindings(2, "queues.testaddress", 2, 1, false);
sendInRange(1, "queues.testaddress", 0, 10, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
@@ -324,7 +322,9 @@
}
}
- public void testGroupingSendTo3queuesNoConsumersDeliveredToLocalQueue() throws Exception
+
+
+ public void testGroupingRoundRobin() throws Exception
{
setupServer(0, isFileStorage(), isNetty());
setupServer(1, isFileStorage(), isNetty());
@@ -352,26 +352,21 @@
createQueue(1, "queues.testaddress", "queue0", null, false);
createQueue(2, "queues.testaddress", "queue0", null, false);
- waitForBindings(0, "queues.testaddress", 1, 0, true);
- waitForBindings(1, "queues.testaddress", 1, 0, true);
- waitForBindings(2, "queues.testaddress", 1, 0, true);
+ addConsumer(0, 0, "queue0", null);
+ addConsumer(1, 1, "queue0", null);
+ addConsumer(2, 2, "queue0", null);
- waitForBindings(0, "queues.testaddress", 2, 0, false);
- waitForBindings(1, "queues.testaddress", 2, 0, false);
- waitForBindings(2, "queues.testaddress", 2, 0, false);
+ waitForBindings(0, "queues.testaddress", 1, 1, true);
+ waitForBindings(1, "queues.testaddress", 1, 1, true);
+ waitForBindings(2, "queues.testaddress", 1, 1, true);
- sendInRange(1, "queues.testaddress", 0, 10, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
- sendInRange(2, "queues.testaddress", 10, 20, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+ sendInRange(0, "queues.testaddress", 0, 10, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+ sendInRange(0, "queues.testaddress", 10, 20, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id2"));
+ sendInRange(0, "queues.testaddress", 20, 30, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id3"));
+ verifyReceiveAllWithGroupIDRoundRobin(0, 10, 0, 1, 2);
- sendInRange(0, "queues.testaddress", 20, 30, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
- addConsumer(0, 0, "queue0", null);
- addConsumer(1, 1, "queue0", null);
- addConsumer(2, 2, "queue0", null);
-
- verifyReceiveAllInRange(0, 30, 1 );
-
System.out.println("*****************************************************************************");
}
finally
@@ -384,6 +379,7 @@
}
}
+
public void testGroupingSendTo3queuesQueueRemoved() throws Exception
{
setupServer(0, isFileStorage(), isNetty());
@@ -498,49 +494,257 @@
setupSessionFactory(1, isNetty());
setupSessionFactory(2, isNetty());
- createQueue(0, "queues.testaddress", "queue0", null, false);
- createQueue(1, "queues.testaddress", "queue0", null, false);
- createQueue(2, "queues.testaddress", "queue0", null, false);
+ createQueue(0, "queues.testaddress", "queue0", null, true);
+ createQueue(1, "queues.testaddress", "queue0", null, true);
+ createQueue(2, "queues.testaddress", "queue0", null, true);
- addConsumer(0, 0, "queue0", null);
+ addConsumer(0, 1, "queue0", null);
+
+ waitForBindings(0, "queues.testaddress", 1, 0, true);
+ waitForBindings(1, "queues.testaddress", 1, 1, true);
+ waitForBindings(2, "queues.testaddress", 1, 0, true);
+
+ waitForBindings(0, "queues.testaddress", 2, 1, false);
+ waitForBindings(1, "queues.testaddress", 2, 0, false);
+ waitForBindings(2, "queues.testaddress", 2, 1, false);
+
+ sendInRange(1, "queues.testaddress", 0, 10, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+ verifyReceiveAllInRange(0, 10, 0);
+
+ stopServers(1);
+
+ sendInRange(2, "queues.testaddress", 10, 20, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+
+ sendInRange(0, "queues.testaddress", 20, 30, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+ startServers(1);
+
addConsumer(1, 1, "queue0", null);
- addConsumer(2, 2, "queue0", null);
+ waitForBindings(1, "queues.testaddress", 1, 1, true);
+
- waitForBindings(0, "queues.testaddress", 1, 1, true);
+ verifyReceiveAllInRange(10, 20, 1);
+ verifyReceiveAllInRange(20, 30, 1);
+
+ System.out.println("*****************************************************************************");
+ }
+ finally
+ {
+ //closeAllConsumers();
+
+ closeAllSessionFactories();
+
+ stopServers(0, 1, 2);
+ }
+ }
+
+ public void testGroupingSendTo3queuesPinnedNodeGoesDownSendBeforeStop() throws Exception
+ {
+ setupServer(0, isFileStorage(), isNetty());
+ setupServer(1, isFileStorage(), isNetty());
+ setupServer(2, isFileStorage(), isNetty());
+
+ setupClusterConnection("cluster0", "queues", false, 1, isNetty(), 0, 1, 2);
+
+ setupClusterConnection("cluster1", "queues", false, 1, isNetty(), 1, 0, 2);
+
+ setupClusterConnection("cluster2", "queues", false, 1, isNetty(), 2, 0, 1);
+
+ startServers(0, 1, 2);
+
+ try
+ {
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+
+ setupSessionFactory(0, isNetty());
+ setupSessionFactory(1, isNetty());
+ setupSessionFactory(2, isNetty());
+
+ createQueue(0, "queues.testaddress", "queue0", null, true);
+ createQueue(1, "queues.testaddress", "queue0", null, true);
+ createQueue(2, "queues.testaddress", "queue0", null, true);
+
+ addConsumer(0, 1, "queue0", null);
+
+ waitForBindings(0, "queues.testaddress", 1, 0, true);
+ waitForBindings(1, "queues.testaddress", 1, 1, true);
+ waitForBindings(2, "queues.testaddress", 1, 0, true);
+
+ waitForBindings(0, "queues.testaddress", 2, 1, false);
+ waitForBindings(1, "queues.testaddress", 2, 0, false);
+ waitForBindings(2, "queues.testaddress", 2, 1, false);
+
+ sendInRange(1, "queues.testaddress", 0, 10, true, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+ verifyReceiveAllInRange(true, 0, 10, 0);
+
+ closeAllConsumers();
+
+ sendInRange(2, "queues.testaddress", 10, 20, true, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+
+ sendInRange(0, "queues.testaddress", 20, 30, true, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+ stopServers(1);
+
+ startServers(1);
+
+ addConsumer(1, 1, "queue0", null);
+
+ waitForBindings(1, "queues.testaddress", 1, 1, true);
+
+
+ verifyReceiveAllInRange(10, 30, 1);
+
+
+ System.out.println("*****************************************************************************");
+ }
+ finally
+ {
+ //closeAllConsumers();
+
+ closeAllSessionFactories();
+
+ stopServers(0, 1, 2);
+ }
+ }
+
+
+ public void testGroupingSendTo3queuesPinnedNodeGoesDownSendAfterRestart() throws Exception
+ {
+ setupServer(0, isFileStorage(), isNetty());
+ setupServer(1, isFileStorage(), isNetty());
+ setupServer(2, isFileStorage(), isNetty());
+
+ setupClusterConnection("cluster0", "queues", false, 1, isNetty(), 0, 1, 2);
+
+ setupClusterConnection("cluster1", "queues", false, 1, isNetty(), 1, 0, 2);
+
+ setupClusterConnection("cluster2", "queues", false, 1, isNetty(), 2, 0, 1);
+
+ startServers(0, 1, 2);
+
+ try
+ {
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+
+ setupSessionFactory(0, isNetty());
+ setupSessionFactory(1, isNetty());
+ setupSessionFactory(2, isNetty());
+
+ createQueue(0, "queues.testaddress", "queue0", null, true);
+ createQueue(1, "queues.testaddress", "queue0", null, true);
+ createQueue(2, "queues.testaddress", "queue0", null, true);
+
+ addConsumer(0, 1, "queue0", null);
+
+ waitForBindings(0, "queues.testaddress", 1, 0, true);
waitForBindings(1, "queues.testaddress", 1, 1, true);
- waitForBindings(2, "queues.testaddress", 1, 1, true);
+ waitForBindings(2, "queues.testaddress", 1, 0, true);
- waitForBindings(0, "queues.testaddress", 2, 2, false);
- waitForBindings(1, "queues.testaddress", 2, 2, false);
- waitForBindings(2, "queues.testaddress", 2, 2, false);
+ waitForBindings(0, "queues.testaddress", 2, 1, false);
+ waitForBindings(1, "queues.testaddress", 2, 0, false);
+ waitForBindings(2, "queues.testaddress", 2, 1, false);
sendInRange(1, "queues.testaddress", 0, 10, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
- verifyReceiveAllInRange(0, 10, 1);
+ verifyReceiveAllInRange(0, 10, 0);
- stopClusterConnections(1);
-
stopServers(1);
+
+
+ startServers(1);
+
sendInRange(2, "queues.testaddress", 10, 20, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
sendInRange(0, "queues.testaddress", 20, 30, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
- startServers(1);
- setupSessionFactory(1, isNetty());
- createQueue(1, "queues.testaddress", "queue0", null, false);
+
addConsumer(1, 1, "queue0", null);
waitForBindings(1, "queues.testaddress", 1, 1, true);
- waitForBindings(1, "queues.testaddress", 2, 2, false);
+
+
verifyReceiveAllInRange(10, 20, 1);
verifyReceiveAllInRange(20, 30, 1);
System.out.println("*****************************************************************************");
}
- catch(Exception e)
+ finally
{
- e.printStackTrace();
+ //closeAllConsumers();
+
+ closeAllSessionFactories();
+
+ stopServers(0, 1, 2);
}
+ }
+
+ public void testGroupingSendTo3queuesSendingNodeGoesDown() throws Exception
+ {
+ setupServer(0, isFileStorage(), isNetty());
+ setupServer(1, isFileStorage(), isNetty());
+ setupServer(2, isFileStorage(), isNetty());
+
+ setupClusterConnection("cluster0", "queues", false, 1, isNetty(), 0, 1, 2);
+
+ setupClusterConnection("cluster1", "queues", false, 1, isNetty(), 1, 0, 2);
+
+ setupClusterConnection("cluster2", "queues", false, 1, isNetty(), 2, 0, 1);
+
+ startServers(0, 1, 2);
+
+ try
+ {
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+
+ setupSessionFactory(0, isNetty());
+ setupSessionFactory(1, isNetty());
+ setupSessionFactory(2, isNetty());
+
+ createQueue(0, "queues.testaddress", "queue0", null, true);
+ createQueue(1, "queues.testaddress", "queue0", null, true);
+ createQueue(2, "queues.testaddress", "queue0", null, true);
+
+ addConsumer(0, 1, "queue0", null);
+
+ waitForBindings(0, "queues.testaddress", 1, 0, true);
+ waitForBindings(1, "queues.testaddress", 1, 1, true);
+ waitForBindings(2, "queues.testaddress", 1, 0, true);
+
+ waitForBindings(0, "queues.testaddress", 2, 1, false);
+ waitForBindings(1, "queues.testaddress", 2, 0, false);
+ waitForBindings(2, "queues.testaddress", 2, 1, false);
+
+ sendInRange(1, "queues.testaddress", 0, 10, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+ verifyReceiveAllInRange(0, 10, 0);
+
+ stopServers(0);
+
+ sendInRange(2, "queues.testaddress", 10, 20, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+
+
+
+ startServers(0);
+
+ waitForBindings(0, "queues.testaddress", 1, 0, true);
+ sendInRange(0, "queues.testaddress", 20, 30, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+ verifyReceiveAllInRange(10, 20, 0);
+ verifyReceiveAllInRange(20, 30, 0);
+
+ System.out.println("*****************************************************************************");
+ }
finally
{
//closeAllConsumers();
@@ -551,6 +755,71 @@
}
}
+ public void testGroupingMultipleQueuesOnAddress() throws Exception
+ {
+ setupServer(0, isFileStorage(), isNetty());
+ setupServer(1, isFileStorage(), isNetty());
+ setupServer(2, isFileStorage(), isNetty());
+
+ setupClusterConnection("cluster0", "queues", false, 1, isNetty(), 0, 1, 2);
+
+ setupClusterConnection("cluster1", "queues", false, 1, isNetty(), 1, 0, 2);
+
+ setupClusterConnection("cluster2", "queues", false, 1, isNetty(), 2, 0, 1);
+
+ startServers(0, 1, 2);
+
+ try
+ {
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.LOCAL, 0);
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 1);
+ setUpGroupArbitrator(GroupingHandlerConfiguration.TYPE.REMOTE, 2);
+
+ setupSessionFactory(0, isNetty());
+ setupSessionFactory(1, isNetty());
+ setupSessionFactory(2, isNetty());
+
+ createQueue(0, "queues.testaddress", "queue0", null, false);
+ createQueue(1, "queues.testaddress", "queue0", null, false);
+ createQueue(2, "queues.testaddress", "queue0", null, false);
+
+ createQueue(0, "queues.testaddress", "queue1", null, false);
+ createQueue(1, "queues.testaddress", "queue1", null, false);
+ createQueue(2, "queues.testaddress", "queue1", null, false);
+
+ addConsumer(0, 0, "queue0", null);
+ addConsumer(1, 1, "queue0", null);
+ addConsumer(2, 2, "queue0", null);
+
+ addConsumer(3, 0, "queue0", null);
+ addConsumer(4, 1, "queue0", null);
+ addConsumer(5, 2, "queue0", null);
+
+ waitForBindings(0, "queues.testaddress", 2, 2, true);
+ waitForBindings(1, "queues.testaddress", 2, 2, true);
+ waitForBindings(2, "queues.testaddress", 2, 2, true);
+
+ waitForBindings(0, "queues.testaddress", 4, 4, false);
+ waitForBindings(1, "queues.testaddress", 4, 4, false);
+ waitForBindings(2, "queues.testaddress", 4, 4, false);
+
+
+ sendWithProperty(0, "queues.testaddress", 10, false, MessageImpl.HDR_GROUP_ID, new SimpleString("id1"));
+
+ verifyReceiveAll(10, 0);
+
+ System.out.println("*****************************************************************************");
+ }
+ finally
+ {
+ closeAllConsumers();
+
+ closeAllSessionFactories();
+
+ stopServers(0, 1, 2);
+ }
+ }
+
public boolean isNetty()
{
return true;
@@ -558,7 +827,7 @@
public boolean isFileStorage()
{
- return false;
+ return true;
}
}
14 years, 7 months
JBoss hornetq SVN: r8101 - trunk/tests/src/org/hornetq/tests/integration/jms.
by do-not-reply@jboss.org
Author: jmesnil
Date: 2009-10-14 04:59:08 -0400 (Wed, 14 Oct 2009)
New Revision: 8101
Modified:
trunk/tests/src/org/hornetq/tests/integration/jms/ManualReconnectionToSingleServerTest.java
Log:
ensure JMS connections are properly closed
Modified: trunk/tests/src/org/hornetq/tests/integration/jms/ManualReconnectionToSingleServerTest.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/integration/jms/ManualReconnectionToSingleServerTest.java 2009-10-13 21:41:29 UTC (rev 8100)
+++ trunk/tests/src/org/hornetq/tests/integration/jms/ManualReconnectionToSingleServerTest.java 2009-10-14 08:59:08 UTC (rev 8101)
@@ -31,6 +31,7 @@
import static org.hornetq.core.client.impl.ClientSessionFactoryImpl.DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE;
import static org.hornetq.core.client.impl.ClientSessionFactoryImpl.DEFAULT_THREAD_POOL_MAX_SIZE;
import static org.hornetq.core.client.impl.ClientSessionFactoryImpl.DEFAULT_USE_GLOBAL_POOLS;
+import static org.hornetq.tests.util.RandomUtil.randomString;
import java.util.ArrayList;
import java.util.Date;
@@ -45,8 +46,8 @@
import javax.jms.MessageConsumer;
import javax.jms.MessageListener;
import javax.jms.MessageProducer;
+import javax.jms.Queue;
import javax.jms.Session;
-import javax.jms.Topic;
import javax.naming.Context;
import org.hornetq.core.config.Configuration;
@@ -63,9 +64,6 @@
import org.hornetq.utils.Pair;
/**
- * Connection tests. Contains all connection tests, except tests relating to closing a connection,
- * which go to ConnectionClosedTest.
- *
* @author <a href="mailto:jmesnil@redhat.com">Jeff Mesnil</a>
*/
public class ManualReconnectionToSingleServerTest extends UnitTestCase
@@ -121,7 +119,7 @@
private InVMContext context;
- private final String topicName = "my-topic";
+ private final String queueName = randomString();
// Static --------------------------------------------------------
@@ -157,7 +155,7 @@
{
killServer();
Thread.sleep(5000);
- restartServer();
+ startServer();
afterRestart = true;
}
}
@@ -176,15 +174,7 @@
log.info("That took " + (end - start));
//Make sure it doesn't pass by just timing out on blocking send
- assertTrue(end - start < callTimeout);
-
- System.gc();
- System.gc();
- System.gc();
- System.gc();
-
- Thread.sleep(30000);
-
+ assertTrue(end - start < callTimeout);
}
// Package protected ---------------------------------------------
@@ -204,13 +194,7 @@
server.start();
serverManager = new JMSServerManagerImpl(server);
- context = new InVMContext();
- serverManager.setContext(context);
- serverManager.start();
- serverManager.activated();
-
- serverManager.createTopic(topicName, topicName);
- registerConnectionFactory();
+ startServer();
}
@Override
@@ -225,24 +209,27 @@
connection = null;
super.tearDown();
+
+ System.gc();
}
// Private -------------------------------------------------------
// Inner classes -------------------------------------------------
- private void restartServer() throws Exception
+ private void startServer() throws Exception
{
serverManager.start();
serverManager.activated();
context = new InVMContext();
serverManager.setContext(context);
- serverManager.createTopic(topicName, topicName);
+ serverManager.createQueue(queueName, queueName, null, false);
registerConnectionFactory();
}
private void killServer() throws Exception
{
+ context = null;
serverManager.stop();
}
@@ -294,7 +281,7 @@
protected void disconnect()
{
- log.info("calling disocnnect");
+ log.info("calling disconnect");
if (connection == null)
{
log.info("connection is null");
@@ -319,14 +306,18 @@
{
try
{
+ if (context == null)
+ {
+ return;
+ }
Context initialContext = context;
- Topic topic;
+ Queue queue;
ConnectionFactory cf;
while (true)
{
try
{
- topic = (Topic)initialContext.lookup(topicName);
+ queue = (Queue)initialContext.lookup(queueName);
cf = (ConnectionFactory)initialContext.lookup("/cf");
break;
}
@@ -339,16 +330,26 @@
connection = cf.createConnection();
connection.setExceptionListener(exceptionListener);
session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
- producer = session.createProducer(topic);
+ producer = session.createProducer(queue);
System.out.println("creating consumer");
- consumer = session.createConsumer(topic);
+ consumer = session.createConsumer(queue);
consumer.setMessageListener(listener);
connection.start();
System.out.println("started new connection");
}
catch (Exception e)
{
- e.printStackTrace();
+ if (connection != null)
+ {
+ try
+ {
+ connection.close();
+ }
+ catch (JMSException e1)
+ {
+ e1.printStackTrace();
+ }
+ }
}
}
}
14 years, 7 months
JBoss hornetq SVN: r8100 - trunk/src/main/org/hornetq/core/server/cluster/impl.
by do-not-reply@jboss.org
Author: timfox
Date: 2009-10-13 17:41:29 -0400 (Tue, 13 Oct 2009)
New Revision: 8100
Modified:
trunk/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java
Log:
Fixed thread safety issue in clusterconnection control getNodes() method
Modified: trunk/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java 2009-10-13 20:03:52 UTC (rev 8099)
+++ trunk/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java 2009-10-13 21:41:29 UTC (rev 8100)
@@ -261,7 +261,7 @@
return nodeUUID.toString();
}
- public Map<String, String> getNodes()
+ public synchronized Map<String, String> getNodes()
{
Map<String, String> nodes = new HashMap<String, String>();
for (Entry<String, MessageFlowRecord> record : records.entrySet( ))
14 years, 7 months
JBoss hornetq SVN: r8099 - in trunk/docs: user-manual/en and 1 other directory.
by do-not-reply@jboss.org
Author: timfox
Date: 2009-10-13 16:03:52 -0400 (Tue, 13 Oct 2009)
New Revision: 8099
Modified:
trunk/docs/quickstart-guide/en/examples.xml
trunk/docs/user-manual/en/examples.xml
Log:
updated docs for ant changes
Modified: trunk/docs/quickstart-guide/en/examples.xml
===================================================================
--- trunk/docs/quickstart-guide/en/examples.xml 2009-10-13 19:59:21 UTC (rev 8098)
+++ trunk/docs/quickstart-guide/en/examples.xml 2009-10-13 20:03:52 UTC (rev 8099)
@@ -28,9 +28,7 @@
<para>Java EE Examples - these demonstrate application server integration, e.g. MDBs, EJBs,
Servlets, etc.</para>
</listitem>
- </itemizedlist>
- <para>All the examples are run using ant. You will need ant installed on your system and the ant
- <literal>bin</literal> directory on your path.</para>
+ </itemizedlist>
<section id="examples.jms">
<title>The JMS examples</title>
<para>The JMS Examples all follow the same format. Each examples is contained in its own
@@ -57,7 +55,7 @@
user manual.</para>
<para>Firstly open a Shell or a Command prompt and navigate to the <literal
>examples/jms/queue</literal> directory.</para>
- <para>Type the command <literal>ant</literal> and you should see the following output:</para>
+ <para>Type the command <literal>./build.sh</literal> (or <literal>build.bat</literal> if you are running on Windows), and you should see the following output:</para>
<programlisting>Buildfile: build.xml
run:
@@ -132,7 +130,7 @@
<programlisting>export JBOSS_HOME=/home/jbossas5.1/build/output/jboss-5.1.0.GA</programlisting>
<para>Once set we can then deploy the application, from inside the <literal
>examples/javaee/mdb</literal> directory run the command:</para>
- <programlisting>ant deploy</programlisting>
+ <programlisting>./build.sh deploy</programlisting>
<para>This will make a copy of the messaging profile in the JBoss Application server and start
the server.</para>
<para>In the shell window you should see something like the following output:</para>
@@ -186,7 +184,7 @@
</programlisting>
<para>We can now run the example, do this by running the following command from within the
<literal>mdb</literal> directory.</para>
- <programlisting>ant</programlisting>
+ <programlisting>./build.sh</programlisting>
<para>You should see some output similar to the following:</para>
<programlisting>Buildfile: build.xml
@@ -206,7 +204,7 @@
<programlisting>16:27:54,703 INFO [STDOUT] message This is a text message received</programlisting>
<para>The application can then be undeployed by running the following command from within the
<literal>mdb</literal> directory.</para>
- <programlisting>ant undeploy</programlisting>
+ <programlisting>./build.sh undeploy</programlisting>
<para>This should so some output similar to the following:</para>
<programlisting>Buildfile: build.xml
Modified: trunk/docs/user-manual/en/examples.xml
===================================================================
--- trunk/docs/user-manual/en/examples.xml 2009-10-13 19:59:21 UTC (rev 8098)
+++ trunk/docs/user-manual/en/examples.xml 2009-10-13 20:03:52 UTC (rev 8099)
@@ -29,9 +29,7 @@
<section>
<title>JMS Examples</title>
<para>To run a JMS example, simply <literal>cd</literal> into the appropriate example
- directory and type <literal>ant</literal>.</para>
- <para>You will need to have Apache 1.7.0 or later ant installed on your system with the ant
- <literal>bin</literal> directory on your path.</para>
+ directory and type <literal>./build.sh</literal> (or <literal>build.bat</literal> if you are on Windows).</para>
<para>Here's a listing of the examples with a brief description.</para>
<section id="application-level-failover">
<title>Application-Layer Failover</title>
14 years, 7 months
JBoss hornetq SVN: r8098 - in trunk/examples: core/embedded-remote and 71 other directories.
by do-not-reply@jboss.org
Author: timfox
Date: 2009-10-13 15:59:21 -0400 (Tue, 13 Oct 2009)
New Revision: 8098
Modified:
trunk/examples/core/embedded-remote/readme.html
trunk/examples/core/embedded/readme.html
trunk/examples/core/microcontainer/readme.html
trunk/examples/javaee/ejb-jms-transaction/readme.html
trunk/examples/javaee/jca-config/readme.html
trunk/examples/javaee/jms-bridge/readme.html
trunk/examples/javaee/mdb-bmt/readme.html
trunk/examples/javaee/mdb-cmt-setrollbackonly/readme.html
trunk/examples/javaee/mdb-cmt-tx-local/readme.html
trunk/examples/javaee/mdb-cmt-tx-not-supported/readme.html
trunk/examples/javaee/mdb-cmt-tx-required/readme.html
trunk/examples/javaee/mdb-message-selector/readme.html
trunk/examples/javaee/mdb-tx-send/readme.html
trunk/examples/javaee/servlet-ssl/readme.html
trunk/examples/javaee/servlet-transport/readme.html
trunk/examples/javaee/xarecovery/readme.html
trunk/examples/jms/applet/readme.html
trunk/examples/jms/application-layer-failover/readme.html
trunk/examples/jms/automatic-failover/readme.html
trunk/examples/jms/bridge/readme.html
trunk/examples/jms/browser/readme.html
trunk/examples/jms/client-kickoff/readme.html
trunk/examples/jms/client-side-load-balancing/readme.html
trunk/examples/jms/clustered-durable-subscription/readme.html
trunk/examples/jms/clustered-queue/readme.html
trunk/examples/jms/clustered-standalone/readme.html
trunk/examples/jms/clustered-topic/readme.html
trunk/examples/jms/consumer-rate-limit/readme.html
trunk/examples/jms/dead-letter/readme.html
trunk/examples/jms/delayed-redelivery/readme.html
trunk/examples/jms/divert/readme.html
trunk/examples/jms/durable-subscription/readme.html
trunk/examples/jms/embedded/readme.html
trunk/examples/jms/expiry/readme.html
trunk/examples/jms/http-transport/readme.html
trunk/examples/jms/instantiate-connection-factory/readme.html
trunk/examples/jms/interceptor/readme.html
trunk/examples/jms/jaas/readme.html
trunk/examples/jms/jmx/readme.html
trunk/examples/jms/large-message/readme.html
trunk/examples/jms/last-value-queue/readme.html
trunk/examples/jms/management-notifications/readme.html
trunk/examples/jms/management/readme.html
trunk/examples/jms/message-counters/readme.html
trunk/examples/jms/message-group/readme.html
trunk/examples/jms/message-priority/readme.html
trunk/examples/jms/no-consumer-buffering/readme.html
trunk/examples/jms/paging/readme.html
trunk/examples/jms/pre-acknowledge/readme.html
trunk/examples/jms/producer-rate-limit/readme.html
trunk/examples/jms/queue-message-redistribution/readme.html
trunk/examples/jms/queue-requestor/readme.html
trunk/examples/jms/queue-selector/readme.html
trunk/examples/jms/queue/readme.html
trunk/examples/jms/reconnect-same-node/readme.html
trunk/examples/jms/request-reply/readme.html
trunk/examples/jms/scheduled-message/readme.html
trunk/examples/jms/security/readme.html
trunk/examples/jms/send-acknowledgements/readme.html
trunk/examples/jms/ssl-enabled/readme.html
trunk/examples/jms/static-selector-jms/readme.html
trunk/examples/jms/static-selector/readme.html
trunk/examples/jms/symmetric-cluster/readme.html
trunk/examples/jms/temp-queue/readme.html
trunk/examples/jms/topic-hierarchies/readme.html
trunk/examples/jms/topic-selector-example1/readme.html
trunk/examples/jms/topic-selector-example2/readme.html
trunk/examples/jms/topic/readme.html
trunk/examples/jms/transactional/readme.html
trunk/examples/jms/xa-heuristic/readme.html
trunk/examples/jms/xa-receive/readme.html
trunk/examples/jms/xa-send/readme.html
trunk/examples/jms/xa-with-jta/readme.html
Log:
updated examples readmes
Modified: trunk/examples/core/embedded/readme.html
===================================================================
--- trunk/examples/core/embedded/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/core/embedded/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -15,7 +15,7 @@
<p>HornetQ Embedded could be used from very simple use cases with only InVM support to very complex cases with clustering, persistence and fail over.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<p>In this we don't use any configuration files. (Everything is embedded). We simply instantiate ConfigurationImpl, HornetQServer, start it and operate on JMS regularly</p>
<ol>
Modified: trunk/examples/core/embedded-remote/readme.html
===================================================================
--- trunk/examples/core/embedded-remote/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/core/embedded-remote/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -29,7 +29,7 @@
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<p>In this we don't use any configuration files. (Everything is embedded). We simply instantiate ConfigurationImpl, HornetQServer, start it and operate on JMS regularly</p>
<br/>
<ol>
Modified: trunk/examples/core/microcontainer/readme.html
===================================================================
--- trunk/examples/core/microcontainer/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/core/microcontainer/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -11,7 +11,7 @@
<p>This examples shows how to setup and run HornetQ through the Micro Container.</p>
<p>Refer to the user's manual for the list of required Jars, since JBoss Micro Container requires a few jars.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<p>In this we don't use any configuration files. (Everything is embedded). We simply instantiate ConfigurationImpl, HornetQServer, start it and operate on JMS regularly</p>
<ol>
Modified: trunk/examples/javaee/ejb-jms-transaction/readme.html
===================================================================
--- trunk/examples/javaee/ejb-jms-transaction/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/ejb-jms-transaction/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -50,9 +50,9 @@
<h2>Example step-by-step</h2>
- <p><em>To deploy and run the server, type <code>ant deploy</code> from this directory</em>.</p>
- <p><em>Once the second server has started, type <code>ant run</code> to run the example </em>.</p>
- <p><em>Type <code>ant undeploy</code> to remove the profile from JBoss AS 5</em>.</p>
+ <p><em>To deploy and run the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from this directory</em>.</p>
+ <p><em>Once the second server has started, simply type <code>./build.sh run</code> (or <code>build.bat run</code> on windows) to run the example </em>.</p>
+ <p><em>Simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows) to remove the profile from JBoss AS 5</em>.</p>
The example code is composed of two main classes:
<ul>
Modified: trunk/examples/javaee/jca-config/readme.html
===================================================================
--- trunk/examples/javaee/jca-config/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/jca-config/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -132,10 +132,10 @@
<h2>Example step-by-step</h2>
- <p><i>To deploy and start the first server, simply type <code>ant deploy</code> from the example directory</i></p>
- <p><i>After the first server has started start the second server, simply type <code>ant deploy2</code> from the example directory</i></p>
- <p><i>To run the example, simply type <code>ant run</code> from the example directory</i></p>
- <p><i>To undeploy the example, simply type <code>ant undeploy undeploy2</code> from the example directory</i></p>
+ <p><i>To deploy and start the first server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from the example directory</i></p>
+ <p><i>After the first server has started start the second server, simply type <code>./build.sh deploy2</code> (or <code>build.bat deploy2</code> on windows) from the example directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh run</code> (or <code>build.bat run</code> on windows) from the example directory</i></p>
+ <p><i>To undeploy the example, simply type <code>./build.sh undeploy undeploy2</code> (or <code>build.bat undeploy undeploy2</code> on windows) from the example directory</i></p>
<p><i> ** make sure that JBOSS_HOME is set to the JBoss installation directory</i></p>
<br>
<ol>
Modified: trunk/examples/javaee/jms-bridge/readme.html
===================================================================
--- trunk/examples/javaee/jms-bridge/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/jms-bridge/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -34,12 +34,12 @@
<p>The JMS Bridge is configured using JBoss microcontainer (<a href="config/jms-bridge-jboss-beans.xml">jms-bridge-jboss-beans.xml</a> contains comments about the various parameters
used to configure the bridge).<br />
- <p>The Bridge is deployed in the application server when you run <code>ant deploy</code> (it is copied to <code>${JBOSS_HOME}/server/default-with-hornetq/deploy/</code>).</p>
+ <p>The Bridge is deployed in the application server when you simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) (it is copied to <code>${JBOSS_HOME}/server/default-with-hornetq/deploy/</code>).</p>
<h2>Example step-by-step</h2>
- <p><em>To deploy and start the server, type <code>ant deploy</code></em>.</p>
- <p><em>Once the server has started, type <code>ant run</code> to run the example</em>.</p>
+ <p><em>To deploy and start the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows)</em>.</p>
+ <p><em>Once the server has started, simply type <code>./build.sh run</code> (or <code>build.bat run</code> on windows) to run the example</em>.</p>
<p>The example is simple: the application will send a message to the <em>source</em> queue and consume the same message
from the <em>target</em> queue.</p>
Modified: trunk/examples/javaee/mdb-bmt/readme.html
===================================================================
--- trunk/examples/javaee/mdb-bmt/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/mdb-bmt/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -18,9 +18,9 @@
<p>Please refer to HornetQ Quickstart guide to <a href="../../../docs/quickstart-guide/en/html_single/index.html#installation.jboss">install it in JBoss AS 5<a></p>
<h2>Example step-by-step</h2>
- <p><i>To deploy and start the server, simply type <code>ant deploy</code> from the example directory</i></p>
- <p><i>To run the example, simply type <code>ant</code> from the example directory</i></p>
- <p><i>To remove the example profile, simply type <code>ant undeploy</code> from the example directory</i></p>
+ <p><i>To deploy and start the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from the example directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from the example directory</i></p>
+ <p><i>To remove the example profile, simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows) from the example directory</i></p>
<p><i> ** make sure that JBOSS_HOME is set to the Jboss installation directory</i></p>
<br>
<ol>
Modified: trunk/examples/javaee/mdb-cmt-setrollbackonly/readme.html
===================================================================
--- trunk/examples/javaee/mdb-cmt-setrollbackonly/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/mdb-cmt-setrollbackonly/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -18,9 +18,9 @@
<p>Please refer to HornetQ Quickstart guide to <a href="../../../docs/quickstart-guide/en/html_single/index.html#installation.jboss">install it in JBoss AS 5<a></p>
<h2>Example step-by-step</h2>
- <p><i>To deploy and start the server, simply type <code>ant deploy</code> from the example directory</i></p>
- <p><i>To run the example, simply type <code>ant</code> from the example directory</i></p>
- <p><i>To remove the example profile, simply type <code>ant undeploy</code> from the example directory</i></p>
+ <p><i>To deploy and start the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from the example directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from the example directory</i></p>
+ <p><i>To remove the example profile, simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows) from the example directory</i></p>
<p><i> ** make sure that JBOSS_HOME is set to the Jboss installation directory</i></p>
<br>
<ol>
Modified: trunk/examples/javaee/mdb-cmt-tx-local/readme.html
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-local/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/mdb-cmt-tx-local/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -18,9 +18,9 @@
<p>Please refer to HornetQ Quickstart guide to <a href="../../../docs/quickstart-guide/en/html_single/index.html#installation.jboss">install it in JBoss AS 5<a></p>
<h2>Example step-by-step</h2>
- <p><i>To deploy and start the server, simply type <code>ant deploy</code> from the example directory</i></p>
- <p><i>To run the example, simply type <code>ant</code> from the example directory</i></p>
- <p><i>To remove the example profile, simply type <code>ant undeploy</code> from the example directory</i></p>
+ <p><i>To deploy and start the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from the example directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from the example directory</i></p>
+ <p><i>To remove the example profile, simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows) from the example directory</i></p>
<p><i> ** make sure that JBOSS_HOME is set to the Jboss installation directory</i></p>
<br>
<ol>
Modified: trunk/examples/javaee/mdb-cmt-tx-not-supported/readme.html
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-not-supported/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/mdb-cmt-tx-not-supported/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -18,9 +18,9 @@
<p>Please refer to HornetQ Quickstart guide to <a href="../../../docs/quickstart-guide/en/html_single/index.html#installation.jboss">install it in JBoss AS 5<a></p>
<h2>Example step-by-step</h2>
- <p><i>To deploy and start the server, simply type <code>ant deploy</code> from the example directory</i></p>
- <p><i>To run the example, simply type <code>ant</code> from the example directory</i></p>
- <p><i>To remove the example profile, simply type <code>ant undeploy</code> from the example directory</i></p>
+ <p><i>To deploy and start the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from the example directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from the example directory</i></p>
+ <p><i>To remove the example profile, simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows) from the example directory</i></p>
<p><i> ** make sure that JBOSS_HOME is set to the Jboss installation directory</i></p>
<br>
<ol>
Modified: trunk/examples/javaee/mdb-cmt-tx-required/readme.html
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-required/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/mdb-cmt-tx-required/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -18,9 +18,9 @@
<p>Please refer to HornetQ Quickstart guide to <a href="../../../docs/quickstart-guide/en/html_single/index.html#installation.jboss">install it in JBoss AS 5<a></p>
<h2>Example step-by-step</h2>
- <p><i>To deploy and start the server, simply type <code>ant deploy</code> from the example directory</i></p>
- <p><i>To run the example, simply type <code>ant</code> from the example directory</i></p>
- <p><i>To remove the example profile, simply type <code>ant undeploy</code> from the example directory</i></p>
+ <p><i>To deploy and start the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from the example directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from the example directory</i></p>
+ <p><i>To remove the example profile, simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows) from the example directory</i></p>
<p><i> ** make sure that JBOSS_HOME is set to the Jboss installation directory</i></p>
<br>
<ol>
Modified: trunk/examples/javaee/mdb-message-selector/readme.html
===================================================================
--- trunk/examples/javaee/mdb-message-selector/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/mdb-message-selector/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -18,9 +18,9 @@
<p>Please refer to HornetQ Quickstart guide to <a href="../../../docs/quickstart-guide/en/html_single/index.html#installation.jboss">install it in JBoss AS 5<a></p>
<h2>Example step-by-step</h2>
- <p><i>To deploy and start the server, simply type <code>ant deploy</code> from the example directory</i></p>
- <p><i>To run the example, simply type <code>ant</code> from the example directory</i></p>
- <p><i>To remove the example profile, simply type <code>ant undeploy</code> from the example directory</i></p>
+ <p><i>To deploy and start the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from the example directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from the example directory</i></p>
+ <p><i>To remove the example profile, simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows) from the example directory</i></p>
<p><i> ** make sure that JBOSS_HOME is set to the Jboss installation directory</i></p>
<br>
<ol>
Modified: trunk/examples/javaee/mdb-tx-send/readme.html
===================================================================
--- trunk/examples/javaee/mdb-tx-send/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/mdb-tx-send/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -18,9 +18,9 @@
<p>Please refer to HornetQ Quickstart guide to <a href="../../../docs/quickstart-guide/en/html_single/index.html#installation.jboss">install it in JBoss AS 5<a></p>
<h2>Example step-by-step</h2>
- <p><i>To deploy and start the server, simply type <code>ant deploy</code> from the example directory</i></p>
- <p><i>To run the example, simply type <code>ant</code> from the example directory</i></p>
- <p><i>To remove the example profile, simply type <code>ant undeploy</code> from the example directory</i></p>
+ <p><i>To deploy and start the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from the example directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from the example directory</i></p>
+ <p><i>To remove the example profile, simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows) from the example directory</i></p>
<p><i> ** make sure that JBOSS_HOME is set to the Jboss installation directory</i></p>
<br>
<ol>
Modified: trunk/examples/javaee/servlet-ssl/readme.html
===================================================================
--- trunk/examples/javaee/servlet-ssl/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/servlet-ssl/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -21,9 +21,9 @@
<h2>Example step-by-step</h2>
- <p><em>To deploy and start the server, type <code>ant deploy</code>from the example directory</br >
- Once the server has started type <code>ant run</code> to run the example.<br />
- To remove the new profile type <code>ant undeploy</code>.</em></p>
+ <p><em>To deploy and start the server, type simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows)from the example directory</br >
+ Once the server has started type simply type <code>./build.sh run</code> (or <code>build.bat run</code> on windows) to run the example.<br />
+ To remove the new profile type simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows).</em></p>
<br>
<ol>
Modified: trunk/examples/javaee/servlet-transport/readme.html
===================================================================
--- trunk/examples/javaee/servlet-transport/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/servlet-transport/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -19,9 +19,9 @@
<h2>Example step-by-step</h2>
- <p><em>To deploy and start the server, type <code>ant deploy</code>from the example directory</br >
- Once the server has started type <code>ant run</code> to run the example.<br />
- To remove the new profile type <code>ant undeploy</code>.</em></p>
+ <p><em>To deploy and start the server, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows)from the example directory</br >
+ Once the server has started simply type <code>./build.sh run</code> (or <code>build.bat run</code> on windows) to run the example.<br />
+ To remove the new profile type simply type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows).</em></p>
<br>
<ol>
Modified: trunk/examples/javaee/xarecovery/readme.html
===================================================================
--- trunk/examples/javaee/xarecovery/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/javaee/xarecovery/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -43,11 +43,11 @@
<h2>Example step-by-step</h2>
- <p><em>You need to deploy the example <em>before starting the server</em>, type <code>ant deploy</code> from this directory<br />
- Once the example is deployed in JBoss AS 5, type <code>ant run</code> to start the example. <br />
- This will crash the server: when informed, type <code>ant restart</code> in the terminal where you deployed the example
+ <p><em>You need to deploy the example <em>before starting the server</em>, simply type <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows) from this directory<br />
+ Once the example is deployed in JBoss AS 5, simply type <code>./build.sh run</code> (or <code>build.bat run</code> on windows) to start the example. <br />
+ This will crash the server: when informed, simply type <code>./build.sh restart</code> (or <code>build.bat restart</code> on windows) in the terminal where you deployed the example
to restart the server.<br />
- Type <code>ant undeploy</code> to undeploy the example from JBoss AS 5.</em></p>
+ Type <code>./build.sh undeploy</code> (or <code>build.bat undeploy</code> on windows) to undeploy the example from JBoss AS 5.</em></p>
The example code is composed of 2 main classes:
<dl>
@@ -90,8 +90,8 @@
}</code>
</pre>
- <p><em>At that time, the server is crashed and must be restarted by typing <code>ant restart</code>
- in the terminal where you typed <code>ant deploy</code></em></p>
+ <p><em>At that time, the server is crashed and must be restarted by typing <code>./build.sh restart</code> (or <code>build.bat restart</code> on windows)
+ in the terminal where you typed <code>./build.sh deploy</code> (or <code>build.bat deploy</code> on windows)</em></p>
<li>We will try to receive a message. Once the server is restarted, the message will be recovered and the consumer will receive it
<pre class="prettyprint">
Modified: trunk/examples/jms/applet/readme.html
===================================================================
--- trunk/examples/jms/applet/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/applet/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -12,7 +12,7 @@
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i> to start
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i> to start
HornetQ server and a HTTP server.</p>
<p>Then, go to <a href="http://127.0.0.1:8088/applet.html">http://127.0.0.1:8088/applet.html</a> to load
Modified: trunk/examples/jms/application-layer-failover/readme.html
===================================================================
--- trunk/examples/jms/application-layer-failover/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/application-layer-failover/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -23,7 +23,7 @@
<p>For more information on HornetQ failover and HA, and clustering in general, please see the clustering
section of the user manual.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<p>In this example, the live server is server 1, which will failover onto server 0.</p>
<p>The connection will initially be created to server1, server 1 will crash, and the client will carry on
on server 0, the new server. With Application-Layer failover the node that is failed over onto, does not need to
Modified: trunk/examples/jms/automatic-failover/readme.html
===================================================================
--- trunk/examples/jms/automatic-failover/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/automatic-failover/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -20,7 +20,7 @@
<p>For more information on HornetQ failover and HA, and clustering in general, please see the clustering
section of the user manual.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<p>In this example, the live server is server 1, and the backup server is server 0</p>
<p>The connection will initially be created to server1, server 1 will crash, and the client will carry on
seamlessly on server 0, the backup server.</p>
Modified: trunk/examples/jms/bridge/readme.html
===================================================================
--- trunk/examples/jms/bridge/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/bridge/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -50,7 +50,7 @@
</code>
</pre>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>We create an initial context for looking up JNDI on node 0</li>
Modified: trunk/examples/jms/browser/readme.html
===================================================================
--- trunk/examples/jms/browser/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/browser/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -17,7 +17,7 @@
the queue (looking at the message without removing them) and finally consume the 2 messages
</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/client-kickoff/readme.html
===================================================================
--- trunk/examples/jms/client-kickoff/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/client-kickoff/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -31,7 +31,7 @@
</p>
<h2>Example step-by-step</h2>
- <p><em>To run the example, simply type <code>ant</code> from this directory</em></p>
+ <p><em>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</em></p>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get its properties from <a href="server0/client-jndi.properties">client-jndi.properties</a></li>
<pre class="prettyprint">
Modified: trunk/examples/jms/client-side-load-balancing/readme.html
===================================================================
--- trunk/examples/jms/client-side-load-balancing/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/client-side-load-balancing/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -25,7 +25,7 @@
<p>For more information on HornetQ load balancing, and clustering in general, please see the clustering
section of the user manual.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li> Get an initial context for looking up JNDI from server 0.</li>
Modified: trunk/examples/jms/clustered-durable-subscription/readme.html
===================================================================
--- trunk/examples/jms/clustered-durable-subscription/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/clustered-durable-subscription/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -40,7 +40,7 @@
<p>For more information on HornetQ load balancing, and clustering in general, please see the clustering
section of the user manual.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li> Get an initial context for looking up JNDI from server 0.</li>
Modified: trunk/examples/jms/clustered-queue/readme.html
===================================================================
--- trunk/examples/jms/clustered-queue/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/clustered-queue/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -31,7 +31,7 @@
<p>For more information on HornetQ load balancing, and clustering in general, please see the clustering
section of the user manual.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li> Get an initial context for looking up JNDI from server 0.</li>
Modified: trunk/examples/jms/clustered-standalone/readme.html
===================================================================
--- trunk/examples/jms/clustered-standalone/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/clustered-standalone/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -24,7 +24,7 @@
</code>
</pre>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant run</code> from this directory</i>. This will
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i>. This will
automatically start the 3 cluster nodes, each with its specific configuration.</p>
<p>To start the tests <em>manually</em>, the following steps are:</p>
<ul>
@@ -38,7 +38,7 @@
<pre class="prettyprint"><code>export CLUSTER_PROPS="-Ddata.dir=../data-server3 -Djnp.port=3099 -Djnp.rmiPort=3098 -Dhornetq.remoting.netty.port=7445"
./run.sh ../config/stand-alone/clustered</code></pre>
<li>finally, in the fourth terminal, start the example
- <pre class="prettyprint"><code>ant runRemote</code></pre>
+ <pre class="prettyprint"><code>./build.sh runRemote</code> (or <code>build.bat runRemote</code> on windows)</pre>
<p>The example connects to the three cluster nodes using JNDI (which are retrieved from
<a href="server0/client-jndi.properties">server0</a>, <a href="server1/client-jndi.properties">server1</a>, and
<a href="server2/client-jndi.properties">server2</a>' s JNDI properties file). The JNDI ports were specified
Modified: trunk/examples/jms/clustered-topic/readme.html
===================================================================
--- trunk/examples/jms/clustered-topic/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/clustered-topic/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -32,7 +32,7 @@
<p>For more information on HornetQ load balancing, and clustering in general, please see the clustering
section of the user manual.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li> Get an initial context for looking up JNDI from server 0.</li>
Modified: trunk/examples/jms/consumer-rate-limit/readme.html
===================================================================
--- trunk/examples/jms/consumer-rate-limit/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/consumer-rate-limit/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -33,7 +33,7 @@
<p>We then simply consume as many messages as we can in 10 seconds and note how many messages are actually consumed.</p>
<p>We note that the number of messages consumed per second never exceeds the specified value of <code>10</code> messages per second.</p>
<br>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>Create an initial context to perform the JNDI lookup.</li>
Modified: trunk/examples/jms/dead-letter/readme.html
===================================================================
--- trunk/examples/jms/dead-letter/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/dead-letter/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -44,7 +44,7 @@
</pre>
</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
<pre class="prettyprint">
Modified: trunk/examples/jms/delayed-redelivery/readme.html
===================================================================
--- trunk/examples/jms/delayed-redelivery/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/delayed-redelivery/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -32,7 +32,7 @@
</address-setting>
</code>
</pre>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<ol>
<li>Create an initial context to perform the JNDI lookup.</li>
<pre class="prettyprint">
Modified: trunk/examples/jms/divert/readme.html
===================================================================
--- trunk/examples/jms/divert/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/divert/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -94,7 +94,7 @@
</code>
</pre>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>Create an initial context to perform the JNDI lookup on the London server</li>
Modified: trunk/examples/jms/durable-subscription/readme.html
===================================================================
--- trunk/examples/jms/durable-subscription/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/durable-subscription/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -13,7 +13,7 @@
<p>Unlike non durable subscriptions, the key function of durable subscriptions is that the messages contained in them persist longer than the lifetime of the subscriber - i.e. they will accumulate messages sent to the topic even if there is no active subscriber on them. They will also survive server restarts. Note that for the messages to be persisted, the messages sent to them must be marked as persistent messages.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/embedded/readme.html
===================================================================
--- trunk/examples/jms/embedded/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/embedded/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -14,7 +14,7 @@
We will setup and run a full-fledged JMS server which binds its JMS resources to JNDI and can be accessed by remote clients.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<ol>
<li>Create HornetQ core configuration, and set the properties accordingly</li>
Modified: trunk/examples/jms/expiry/readme.html
===================================================================
--- trunk/examples/jms/expiry/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/expiry/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -39,7 +39,7 @@
</pre>
</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
<pre class="prettyprint">
Modified: trunk/examples/jms/http-transport/readme.html
===================================================================
--- trunk/examples/jms/http-transport/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/http-transport/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -36,7 +36,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/instantiate-connection-factory/readme.html
===================================================================
--- trunk/examples/jms/instantiate-connection-factory/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/instantiate-connection-factory/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -27,7 +27,7 @@
javadoc.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>Instead of looking it up from JNDI we directly instantiate the JMS Queue object. We
Modified: trunk/examples/jms/interceptor/readme.html
===================================================================
--- trunk/examples/jms/interceptor/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/interceptor/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -43,7 +43,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/jaas/readme.html
===================================================================
--- trunk/examples/jms/jaas/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/jaas/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -75,7 +75,7 @@
</ul>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<p>The only relevant step with regard to JAAS configuration is step 4 (all the other
steps are identical to the <a href="../queue/readme.html">Queue example</a>).
<ol start="4">
Modified: trunk/examples/jms/jmx/readme.html
===================================================================
--- trunk/examples/jms/jmx/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/jmx/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -26,7 +26,7 @@
</p>
<h2>Example step-by-step</h2>
- <p><em>To run the example, simply type <code>ant</code> from this directory</em></p>
+ <p><em>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</em></p>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get its properties from <a href="server0/client-jndi.properties">client-jndi.properties</a></li>
<pre class="prettyprint">
Modified: trunk/examples/jms/large-message/readme.html
===================================================================
--- trunk/examples/jms/large-message/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/large-message/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -17,7 +17,7 @@
<p>You may also choose to read LargeMessages using the regular ByteStream or ByteMessage methods, but using the InputStream and OutputStream will provide you a much better performance</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<p>In this example we limit both the server and the client to be running in a maximum of 50MB of RAM,
and we send a message with a body of size 256MB.</p>
<p>HornetQ can support much large message sizes but we
Modified: trunk/examples/jms/last-value-queue/readme.html
===================================================================
--- trunk/examples/jms/last-value-queue/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/last-value-queue/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -26,7 +26,7 @@
</pre>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <a href="server0/client-jndi.properties">client-jndi.properties</a></li>
<pre class="prettyprint">
Modified: trunk/examples/jms/management/readme.html
===================================================================
--- trunk/examples/jms/management/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/management/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -27,7 +27,7 @@
</pre>
<h2>Example step-by-step</h2>
- <p><em>To run the example, simply type <code>ant</code> from this directory</em></p>
+ <p><em>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</em></p>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get its properties from <a href="server0/client-jndi.properties">client-jndi.properties</a></li>
<pre class="prettyprint">
Modified: trunk/examples/jms/management-notifications/readme.html
===================================================================
--- trunk/examples/jms/management-notifications/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/management-notifications/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -51,7 +51,7 @@
</pre>
<h2>Example step-by-step</h2>
- <p><em>To run the example, simply type <code>ant</code> from this directory</em></p>
+ <p><em>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</em></p>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get its properties from <a href="server0/client-jndi.properties">client-jndi.properties</a></li>
<pre class="prettyprint">
Modified: trunk/examples/jms/message-counters/readme.html
===================================================================
--- trunk/examples/jms/message-counters/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/message-counters/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -28,7 +28,7 @@
normal use). You should set these parameters accordingly to the use and throughput of your messages.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
<pre class="prettyprint">
Modified: trunk/examples/jms/message-group/readme.html
===================================================================
--- trunk/examples/jms/message-group/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/message-group/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -27,7 +27,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/message-priority/readme.html
===================================================================
--- trunk/examples/jms/message-priority/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/message-priority/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -26,7 +26,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/no-consumer-buffering/readme.html
===================================================================
--- trunk/examples/jms/no-consumer-buffering/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/no-consumer-buffering/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -51,7 +51,7 @@
<p>If the messages had been buffered in each consumer they would not be available to be consumed
in an order determined afer delivery.</p>
<br>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>Create an initial context to perform the JNDI lookup.</li>
Modified: trunk/examples/jms/paging/readme.html
===================================================================
--- trunk/examples/jms/paging/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/paging/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -16,7 +16,7 @@
<p>A Queue is used to send messages point to point, from a producer to a consumer. The queue guarantees message ordering between these 2 points.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/pre-acknowledge/readme.html
===================================================================
--- trunk/examples/jms/pre-acknowledge/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/pre-acknowledge/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -27,7 +27,7 @@
a special, HornetQ specific acknowledgement mode, given by the value of
<code>HornetQSession.PRE_ACKNOWLEDGE</code>.
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>Create an initial context to perform the JNDI lookup.</li>
Modified: trunk/examples/jms/producer-rate-limit/readme.html
===================================================================
--- trunk/examples/jms/producer-rate-limit/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/producer-rate-limit/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -33,7 +33,7 @@
<p>We then simply send as many messages as we can in 10 seconds and note how many messages are actually sent.</p>
<p>We note that the number of messages sent per second never exceeds the specified value of <code>50</code> messages per second.</p>
<br>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>Create an initial context to perform the JNDI lookup.</li>
Modified: trunk/examples/jms/queue/readme.html
===================================================================
--- trunk/examples/jms/queue/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/queue/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -13,7 +13,7 @@
<p>A Queue is used to send messages point to point, from a producer to a consumer. The queue guarantees message ordering between these 2 points.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/queue-message-redistribution/readme.html
===================================================================
--- trunk/examples/jms/queue-message-redistribution/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/queue-message-redistribution/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -36,7 +36,7 @@
<p>For more information on HornetQ load balancing, and clustering in general, please see the clustering
section of the user manual.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>Get an initial context for looking up JNDI from server 0</li>
Modified: trunk/examples/jms/queue-requestor/readme.html
===================================================================
--- trunk/examples/jms/queue-requestor/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/queue-requestor/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -23,7 +23,7 @@
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/queue-selector/readme.html
===================================================================
--- trunk/examples/jms/queue-selector/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/queue-selector/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -30,7 +30,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/reconnect-same-node/readme.html
===================================================================
--- trunk/examples/jms/reconnect-same-node/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/reconnect-same-node/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -35,7 +35,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>Create an initial context to perform the JNDI lookup.</li>
Modified: trunk/examples/jms/request-reply/readme.html
===================================================================
--- trunk/examples/jms/request-reply/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/request-reply/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -14,7 +14,7 @@
Whenever a client sends a message that expects a response, it can use this mechanism to implement. please consult the JMS 1.1 specification for full details.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
Modified: trunk/examples/jms/scheduled-message/readme.html
===================================================================
--- trunk/examples/jms/scheduled-message/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/scheduled-message/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -17,7 +17,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/security/readme.html
===================================================================
--- trunk/examples/jms/security/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/security/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -113,7 +113,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/send-acknowledgements/readme.html
===================================================================
--- trunk/examples/jms/send-acknowledgements/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/send-acknowledgements/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -17,7 +17,7 @@
<br>
<p>For more information on Asynchronous Send Acknowledgements please see the user manual</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/ssl-enabled/readme.html
===================================================================
--- trunk/examples/jms/ssl-enabled/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/ssl-enabled/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -49,7 +49,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/static-selector/readme.html
===================================================================
--- trunk/examples/jms/static-selector/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/static-selector/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -36,7 +36,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/static-selector-jms/readme.html
===================================================================
--- trunk/examples/jms/static-selector-jms/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/static-selector-jms/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -34,7 +34,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/symmetric-cluster/readme.html
===================================================================
--- trunk/examples/jms/symmetric-cluster/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/symmetric-cluster/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -52,7 +52,7 @@
<p>For more information on configuring HornetQ clustering in general, please see the clustering
section of the user manual.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>We instantiate a connection factory directly, specifying the UDP address and port for discovering
Modified: trunk/examples/jms/temp-queue/readme.html
===================================================================
--- trunk/examples/jms/temp-queue/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/temp-queue/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -12,7 +12,7 @@
<p>TemporaryQueue is a JMS queue that lives within lifetime of its connection. It is often used in request-reply type messaging where the reply is sent through a temporary destination. The temporary queue is often created as a server resource, so after using, the user should call delete() method to release the resources. Please consult the JMS 1.1 specification for full details.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/topic/readme.html
===================================================================
--- trunk/examples/jms/topic/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/topic/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -13,7 +13,7 @@
<p>A Topic is used to send messages using the publish-subscribe model, from a producer to 1 or more consumers.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/topic-hierarchies/readme.html
===================================================================
--- trunk/examples/jms/topic-hierarchies/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/topic-hierarchies/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -17,7 +17,7 @@
address "news.usa.wrestling"</p>
<p>For more information on the wild-card syntax please consult the user manual.</p>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<p>In this example we will define a hierarchy of topics in the file <code>hornetq-jms.xml</code></p>
<pre class="prettyprint">
<code>
Modified: trunk/examples/jms/topic-selector-example1/readme.html
===================================================================
--- trunk/examples/jms/topic-selector-example1/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/topic-selector-example1/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -13,7 +13,7 @@
<p>A regular subscriber would receive every message sent to the topic, but when you use a selector you would limit the messages you receive by the logic expression you choose only getting the messages that will matter to your processing.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/topic-selector-example2/readme.html
===================================================================
--- trunk/examples/jms/topic-selector-example2/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/topic-selector-example2/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -23,7 +23,7 @@
with different 'color' property values are created and sent.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/transactional/readme.html
===================================================================
--- trunk/examples/jms/transactional/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/transactional/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -14,7 +14,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/xa-heuristic/readme.html
===================================================================
--- trunk/examples/jms/xa-heuristic/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/xa-heuristic/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -26,7 +26,7 @@
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/xa-receive/readme.html
===================================================================
--- trunk/examples/jms/xa-receive/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/xa-receive/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -24,7 +24,7 @@
messages. Then we check that no more messages are to be received.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/xa-send/readme.html
===================================================================
--- trunk/examples/jms/xa-send/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/xa-send/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -22,7 +22,7 @@
a new transaction with the same XAResource, but this time we commit the transaction. Both messages are received.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory</i></p>
<br>
<ol>
<li>First we need to get an initial context so we can look-up the JMS connection factory and destination objects from JNDI. This initial context will get it's properties from the <code>client-jndi.properties</code> file in the directory <code>../common/config</code></li>
Modified: trunk/examples/jms/xa-with-jta/readme.html
===================================================================
--- trunk/examples/jms/xa-with-jta/readme.html 2009-10-13 19:34:57 UTC (rev 8097)
+++ trunk/examples/jms/xa-with-jta/readme.html 2009-10-13 19:59:21 UTC (rev 8098)
@@ -24,7 +24,7 @@
enlisted to show the transaction processing information.</p>
<br>
<h2>Example step-by-step</h2>
- <p><i>To run the example, simply type <code>ant</code> from this directory. It will download the JBoss JTA jars before
+ <p><i>To run the example, simply type <code>./build.sh</code> (or <code>build.bat</code> on windows) from this directory. It will download the JBoss JTA jars before
it launches the example.</i></p>
<br>
<ol>
14 years, 7 months
JBoss hornetq SVN: r8097 - in trunk: examples/common and 77 other directories.
by do-not-reply@jboss.org
Author: timfox
Date: 2009-10-13 15:34:57 -0400 (Tue, 13 Oct 2009)
New Revision: 8097
Added:
trunk/examples/core/embedded-remote/build.bat
trunk/examples/core/embedded-remote/build.sh
trunk/examples/core/embedded/build.bat
trunk/examples/core/embedded/build.sh
trunk/examples/core/microcontainer/build.bat
trunk/examples/core/microcontainer/build.sh
trunk/examples/core/perf/build.bat
trunk/examples/core/perf/build.sh
trunk/examples/javaee/ejb-jms-transaction/build.bat
trunk/examples/javaee/ejb-jms-transaction/build.sh
trunk/examples/javaee/hajndi/build.bat
trunk/examples/javaee/hajndi/build.sh
trunk/examples/javaee/jca-config/build.bat
trunk/examples/javaee/jca-config/build.sh
trunk/examples/javaee/jms-bridge/build.bat
trunk/examples/javaee/jms-bridge/build.sh
trunk/examples/javaee/mdb-bmt/build.bat
trunk/examples/javaee/mdb-bmt/build.sh
trunk/examples/javaee/mdb-cmt-setrollbackonly/build.bat
trunk/examples/javaee/mdb-cmt-setrollbackonly/build.sh
trunk/examples/javaee/mdb-cmt-tx-local/build.bat
trunk/examples/javaee/mdb-cmt-tx-local/build.sh
trunk/examples/javaee/mdb-cmt-tx-not-supported/build.bat
trunk/examples/javaee/mdb-cmt-tx-not-supported/build.sh
trunk/examples/javaee/mdb-cmt-tx-required/build.bat
trunk/examples/javaee/mdb-cmt-tx-required/build.sh
trunk/examples/javaee/mdb-message-selector/build.bat
trunk/examples/javaee/mdb-message-selector/build.sh
trunk/examples/javaee/mdb-tx-send/build.bat
trunk/examples/javaee/mdb-tx-send/build.sh
trunk/examples/javaee/servlet-ssl/build.bat
trunk/examples/javaee/servlet-ssl/build.sh
trunk/examples/javaee/servlet-transport/build.bat
trunk/examples/javaee/servlet-transport/build.sh
trunk/examples/javaee/xarecovery/build.bat
trunk/examples/javaee/xarecovery/build.sh
trunk/examples/jms/applet/build.bat
trunk/examples/jms/applet/build.sh
trunk/examples/jms/application-layer-failover/build.bat
trunk/examples/jms/application-layer-failover/build.sh
trunk/examples/jms/automatic-failover/build.bat
trunk/examples/jms/automatic-failover/build.sh
trunk/examples/jms/bridge/build.bat
trunk/examples/jms/bridge/build.sh
trunk/examples/jms/browser/build.bat
trunk/examples/jms/browser/build.sh
trunk/examples/jms/client-kickoff/build.bat
trunk/examples/jms/client-kickoff/build.sh
trunk/examples/jms/client-side-load-balancing/build.bat
trunk/examples/jms/client-side-load-balancing/build.sh
trunk/examples/jms/clustered-durable-subscription/build.bat
trunk/examples/jms/clustered-durable-subscription/build.sh
trunk/examples/jms/clustered-queue/build.bat
trunk/examples/jms/clustered-queue/build.sh
trunk/examples/jms/clustered-standalone/build.bat
trunk/examples/jms/clustered-standalone/build.sh
trunk/examples/jms/clustered-topic/build.bat
trunk/examples/jms/clustered-topic/build.sh
trunk/examples/jms/consumer-rate-limit/build.bat
trunk/examples/jms/consumer-rate-limit/build.sh
trunk/examples/jms/dead-letter/build.bat
trunk/examples/jms/dead-letter/build.sh
trunk/examples/jms/delayed-redelivery/build.bat
trunk/examples/jms/delayed-redelivery/build.sh
trunk/examples/jms/divert/build.bat
trunk/examples/jms/divert/build.sh
trunk/examples/jms/durable-subscription/build.bat
trunk/examples/jms/durable-subscription/build.sh
trunk/examples/jms/embedded/build.bat
trunk/examples/jms/embedded/build.sh
trunk/examples/jms/expiry/build.bat
trunk/examples/jms/expiry/build.sh
trunk/examples/jms/http-transport/build.bat
trunk/examples/jms/http-transport/build.sh
trunk/examples/jms/instantiate-connection-factory/build.bat
trunk/examples/jms/instantiate-connection-factory/build.sh
trunk/examples/jms/interceptor/build.bat
trunk/examples/jms/interceptor/build.sh
trunk/examples/jms/jaas/build.bat
trunk/examples/jms/jaas/build.sh
trunk/examples/jms/jmx/build.bat
trunk/examples/jms/jmx/build.sh
trunk/examples/jms/large-message/build.bat
trunk/examples/jms/large-message/build.sh
trunk/examples/jms/last-value-queue/build.bat
trunk/examples/jms/last-value-queue/build.sh
trunk/examples/jms/management-notifications/build.bat
trunk/examples/jms/management-notifications/build.sh
trunk/examples/jms/management/build.bat
trunk/examples/jms/management/build.sh
trunk/examples/jms/message-counters/build.bat
trunk/examples/jms/message-counters/build.sh
trunk/examples/jms/message-group/build.bat
trunk/examples/jms/message-group/build.sh
trunk/examples/jms/message-priority/build.bat
trunk/examples/jms/message-priority/build.sh
trunk/examples/jms/no-consumer-buffering/build.bat
trunk/examples/jms/no-consumer-buffering/build.sh
trunk/examples/jms/paging/build.bat
trunk/examples/jms/paging/build.sh
trunk/examples/jms/perf/build.bat
trunk/examples/jms/perf/build.sh
trunk/examples/jms/pre-acknowledge/build.bat
trunk/examples/jms/pre-acknowledge/build.sh
trunk/examples/jms/producer-rate-limit/build.bat
trunk/examples/jms/producer-rate-limit/build.sh
trunk/examples/jms/queue-message-redistribution/build.bat
trunk/examples/jms/queue-message-redistribution/build.sh
trunk/examples/jms/queue-requestor/build.bat
trunk/examples/jms/queue-requestor/build.sh
trunk/examples/jms/queue-selector/build.bat
trunk/examples/jms/queue-selector/build.sh
trunk/examples/jms/queue/build.bat
trunk/examples/jms/queue/build.sh
trunk/examples/jms/reconnect-same-node/build.bat
trunk/examples/jms/reconnect-same-node/build.sh
trunk/examples/jms/request-reply/build.bat
trunk/examples/jms/request-reply/build.sh
trunk/examples/jms/scheduled-message/build.bat
trunk/examples/jms/scheduled-message/build.sh
trunk/examples/jms/security/build.bat
trunk/examples/jms/security/build.sh
trunk/examples/jms/send-acknowledgements/build.bat
trunk/examples/jms/send-acknowledgements/build.sh
trunk/examples/jms/ssl-enabled/build.bat
trunk/examples/jms/ssl-enabled/build.sh
trunk/examples/jms/static-selector-jms/build.bat
trunk/examples/jms/static-selector-jms/build.sh
trunk/examples/jms/static-selector/build.bat
trunk/examples/jms/static-selector/build.sh
trunk/examples/jms/symmetric-cluster/build.bat
trunk/examples/jms/symmetric-cluster/build.sh
trunk/examples/jms/temp-queue/build.bat
trunk/examples/jms/temp-queue/build.sh
trunk/examples/jms/topic-hierarchies/build.bat
trunk/examples/jms/topic-hierarchies/build.sh
trunk/examples/jms/topic-selector-example1/build.bat
trunk/examples/jms/topic-selector-example1/build.sh
trunk/examples/jms/topic-selector-example2/build.bat
trunk/examples/jms/topic-selector-example2/build.sh
trunk/examples/jms/topic/build.bat
trunk/examples/jms/topic/build.sh
trunk/examples/jms/transactional/build.bat
trunk/examples/jms/transactional/build.sh
trunk/examples/jms/xa-heuristic/build.bat
trunk/examples/jms/xa-heuristic/build.sh
trunk/examples/jms/xa-receive/build.bat
trunk/examples/jms/xa-receive/build.sh
trunk/examples/jms/xa-send/build.bat
trunk/examples/jms/xa-send/build.sh
trunk/examples/jms/xa-with-jta/build.bat
trunk/examples/jms/xa-with-jta/build.sh
trunk/src/bin/build.bat
trunk/src/bin/build.sh
Modified:
trunk/build-hornetq.xml
trunk/build.bat
trunk/build.sh
trunk/build.xml
trunk/examples/common/build.xml
Log:
use our own ant, part 2, adapt examples to use own ant
Modified: trunk/build-hornetq.xml
===================================================================
--- trunk/build-hornetq.xml 2009-10-13 17:37:06 UTC (rev 8096)
+++ trunk/build-hornetq.xml 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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"/>
Modified: trunk/build.bat
===================================================================
--- trunk/build.bat 2009-10-13 17:37:06 UTC (rev 8096)
+++ trunk/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
Modified: trunk/build.sh
===================================================================
--- trunk/build.sh 2009-10-13 17:37:06 UTC (rev 8096)
+++ trunk/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 "$@"
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2009-10-13 17:37:06 UTC (rev 8096)
+++ trunk/build.xml 2009-10-13 19:34:57 UTC (rev 8097)
@@ -26,7 +26,7 @@
<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"/>
Modified: trunk/examples/common/build.xml
===================================================================
--- trunk/examples/common/build.xml 2009-10-13 17:37:06 UTC (rev 8096)
+++ trunk/examples/common/build.xml 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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"/>
Added: trunk/examples/core/embedded/build.bat
===================================================================
--- trunk/examples/core/embedded/build.bat (rev 0)
+++ trunk/examples/core/embedded/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/core/embedded/build.sh
===================================================================
--- trunk/examples/core/embedded/build.sh (rev 0)
+++ trunk/examples/core/embedded/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/core/embedded/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/core/embedded-remote/build.bat
===================================================================
--- trunk/examples/core/embedded-remote/build.bat (rev 0)
+++ trunk/examples/core/embedded-remote/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/core/embedded-remote/build.sh
===================================================================
--- trunk/examples/core/embedded-remote/build.sh (rev 0)
+++ trunk/examples/core/embedded-remote/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/core/embedded-remote/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/core/microcontainer/build.bat
===================================================================
--- trunk/examples/core/microcontainer/build.bat (rev 0)
+++ trunk/examples/core/microcontainer/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/core/microcontainer/build.sh
===================================================================
--- trunk/examples/core/microcontainer/build.sh (rev 0)
+++ trunk/examples/core/microcontainer/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/core/microcontainer/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/core/perf/build.bat
===================================================================
--- trunk/examples/core/perf/build.bat (rev 0)
+++ trunk/examples/core/perf/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/core/perf/build.sh
===================================================================
--- trunk/examples/core/perf/build.sh (rev 0)
+++ trunk/examples/core/perf/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/core/perf/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/ejb-jms-transaction/build.bat
===================================================================
--- trunk/examples/javaee/ejb-jms-transaction/build.bat (rev 0)
+++ trunk/examples/javaee/ejb-jms-transaction/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/ejb-jms-transaction/build.sh
===================================================================
--- trunk/examples/javaee/ejb-jms-transaction/build.sh (rev 0)
+++ trunk/examples/javaee/ejb-jms-transaction/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/ejb-jms-transaction/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/hajndi/build.bat
===================================================================
--- trunk/examples/javaee/hajndi/build.bat (rev 0)
+++ trunk/examples/javaee/hajndi/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/hajndi/build.sh
===================================================================
--- trunk/examples/javaee/hajndi/build.sh (rev 0)
+++ trunk/examples/javaee/hajndi/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/hajndi/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/jca-config/build.bat
===================================================================
--- trunk/examples/javaee/jca-config/build.bat (rev 0)
+++ trunk/examples/javaee/jca-config/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/jca-config/build.sh
===================================================================
--- trunk/examples/javaee/jca-config/build.sh (rev 0)
+++ trunk/examples/javaee/jca-config/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/jca-config/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/jms-bridge/build.bat
===================================================================
--- trunk/examples/javaee/jms-bridge/build.bat (rev 0)
+++ trunk/examples/javaee/jms-bridge/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/jms-bridge/build.sh
===================================================================
--- trunk/examples/javaee/jms-bridge/build.sh (rev 0)
+++ trunk/examples/javaee/jms-bridge/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/jms-bridge/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/mdb-bmt/build.bat
===================================================================
--- trunk/examples/javaee/mdb-bmt/build.bat (rev 0)
+++ trunk/examples/javaee/mdb-bmt/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/mdb-bmt/build.sh
===================================================================
--- trunk/examples/javaee/mdb-bmt/build.sh (rev 0)
+++ trunk/examples/javaee/mdb-bmt/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/mdb-bmt/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/mdb-cmt-setrollbackonly/build.bat
===================================================================
--- trunk/examples/javaee/mdb-cmt-setrollbackonly/build.bat (rev 0)
+++ trunk/examples/javaee/mdb-cmt-setrollbackonly/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/mdb-cmt-setrollbackonly/build.sh
===================================================================
--- trunk/examples/javaee/mdb-cmt-setrollbackonly/build.sh (rev 0)
+++ trunk/examples/javaee/mdb-cmt-setrollbackonly/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/mdb-cmt-setrollbackonly/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/mdb-cmt-tx-local/build.bat
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-local/build.bat (rev 0)
+++ trunk/examples/javaee/mdb-cmt-tx-local/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/mdb-cmt-tx-local/build.sh
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-local/build.sh (rev 0)
+++ trunk/examples/javaee/mdb-cmt-tx-local/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/mdb-cmt-tx-local/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/mdb-cmt-tx-not-supported/build.bat
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-not-supported/build.bat (rev 0)
+++ trunk/examples/javaee/mdb-cmt-tx-not-supported/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/mdb-cmt-tx-not-supported/build.sh
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-not-supported/build.sh (rev 0)
+++ trunk/examples/javaee/mdb-cmt-tx-not-supported/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/mdb-cmt-tx-not-supported/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/mdb-cmt-tx-required/build.bat
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-required/build.bat (rev 0)
+++ trunk/examples/javaee/mdb-cmt-tx-required/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/mdb-cmt-tx-required/build.sh
===================================================================
--- trunk/examples/javaee/mdb-cmt-tx-required/build.sh (rev 0)
+++ trunk/examples/javaee/mdb-cmt-tx-required/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/mdb-cmt-tx-required/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/mdb-message-selector/build.bat
===================================================================
--- trunk/examples/javaee/mdb-message-selector/build.bat (rev 0)
+++ trunk/examples/javaee/mdb-message-selector/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/mdb-message-selector/build.sh
===================================================================
--- trunk/examples/javaee/mdb-message-selector/build.sh (rev 0)
+++ trunk/examples/javaee/mdb-message-selector/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/mdb-message-selector/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/mdb-tx-send/build.bat
===================================================================
--- trunk/examples/javaee/mdb-tx-send/build.bat (rev 0)
+++ trunk/examples/javaee/mdb-tx-send/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/mdb-tx-send/build.sh
===================================================================
--- trunk/examples/javaee/mdb-tx-send/build.sh (rev 0)
+++ trunk/examples/javaee/mdb-tx-send/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/mdb-tx-send/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/servlet-ssl/build.bat
===================================================================
--- trunk/examples/javaee/servlet-ssl/build.bat (rev 0)
+++ trunk/examples/javaee/servlet-ssl/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/servlet-ssl/build.sh
===================================================================
--- trunk/examples/javaee/servlet-ssl/build.sh (rev 0)
+++ trunk/examples/javaee/servlet-ssl/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/servlet-ssl/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/servlet-transport/build.bat
===================================================================
--- trunk/examples/javaee/servlet-transport/build.bat (rev 0)
+++ trunk/examples/javaee/servlet-transport/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/servlet-transport/build.sh
===================================================================
--- trunk/examples/javaee/servlet-transport/build.sh (rev 0)
+++ trunk/examples/javaee/servlet-transport/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/servlet-transport/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/javaee/xarecovery/build.bat
===================================================================
--- trunk/examples/javaee/xarecovery/build.bat (rev 0)
+++ trunk/examples/javaee/xarecovery/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/javaee/xarecovery/build.sh
===================================================================
--- trunk/examples/javaee/xarecovery/build.sh (rev 0)
+++ trunk/examples/javaee/xarecovery/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/javaee/xarecovery/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/applet/build.bat
===================================================================
--- trunk/examples/jms/applet/build.bat (rev 0)
+++ trunk/examples/jms/applet/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/applet/build.sh
===================================================================
--- trunk/examples/jms/applet/build.sh (rev 0)
+++ trunk/examples/jms/applet/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/applet/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/application-layer-failover/build.bat
===================================================================
--- trunk/examples/jms/application-layer-failover/build.bat (rev 0)
+++ trunk/examples/jms/application-layer-failover/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/application-layer-failover/build.sh
===================================================================
--- trunk/examples/jms/application-layer-failover/build.sh (rev 0)
+++ trunk/examples/jms/application-layer-failover/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/application-layer-failover/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/automatic-failover/build.bat
===================================================================
--- trunk/examples/jms/automatic-failover/build.bat (rev 0)
+++ trunk/examples/jms/automatic-failover/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/automatic-failover/build.sh
===================================================================
--- trunk/examples/jms/automatic-failover/build.sh (rev 0)
+++ trunk/examples/jms/automatic-failover/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/automatic-failover/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/bridge/build.bat
===================================================================
--- trunk/examples/jms/bridge/build.bat (rev 0)
+++ trunk/examples/jms/bridge/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/bridge/build.sh
===================================================================
--- trunk/examples/jms/bridge/build.sh (rev 0)
+++ trunk/examples/jms/bridge/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/bridge/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/browser/build.bat
===================================================================
--- trunk/examples/jms/browser/build.bat (rev 0)
+++ trunk/examples/jms/browser/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/browser/build.sh
===================================================================
--- trunk/examples/jms/browser/build.sh (rev 0)
+++ trunk/examples/jms/browser/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/browser/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/client-kickoff/build.bat
===================================================================
--- trunk/examples/jms/client-kickoff/build.bat (rev 0)
+++ trunk/examples/jms/client-kickoff/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/client-kickoff/build.sh
===================================================================
--- trunk/examples/jms/client-kickoff/build.sh (rev 0)
+++ trunk/examples/jms/client-kickoff/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/client-kickoff/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/client-side-load-balancing/build.bat
===================================================================
--- trunk/examples/jms/client-side-load-balancing/build.bat (rev 0)
+++ trunk/examples/jms/client-side-load-balancing/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/client-side-load-balancing/build.sh
===================================================================
--- trunk/examples/jms/client-side-load-balancing/build.sh (rev 0)
+++ trunk/examples/jms/client-side-load-balancing/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/client-side-load-balancing/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/clustered-durable-subscription/build.bat
===================================================================
--- trunk/examples/jms/clustered-durable-subscription/build.bat (rev 0)
+++ trunk/examples/jms/clustered-durable-subscription/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/clustered-durable-subscription/build.sh
===================================================================
--- trunk/examples/jms/clustered-durable-subscription/build.sh (rev 0)
+++ trunk/examples/jms/clustered-durable-subscription/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/clustered-durable-subscription/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/clustered-queue/build.bat
===================================================================
--- trunk/examples/jms/clustered-queue/build.bat (rev 0)
+++ trunk/examples/jms/clustered-queue/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/clustered-queue/build.sh
===================================================================
--- trunk/examples/jms/clustered-queue/build.sh (rev 0)
+++ trunk/examples/jms/clustered-queue/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/clustered-queue/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/clustered-standalone/build.bat
===================================================================
--- trunk/examples/jms/clustered-standalone/build.bat (rev 0)
+++ trunk/examples/jms/clustered-standalone/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/clustered-standalone/build.sh
===================================================================
--- trunk/examples/jms/clustered-standalone/build.sh (rev 0)
+++ trunk/examples/jms/clustered-standalone/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/clustered-standalone/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/clustered-topic/build.bat
===================================================================
--- trunk/examples/jms/clustered-topic/build.bat (rev 0)
+++ trunk/examples/jms/clustered-topic/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/clustered-topic/build.sh
===================================================================
--- trunk/examples/jms/clustered-topic/build.sh (rev 0)
+++ trunk/examples/jms/clustered-topic/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/clustered-topic/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/consumer-rate-limit/build.bat
===================================================================
--- trunk/examples/jms/consumer-rate-limit/build.bat (rev 0)
+++ trunk/examples/jms/consumer-rate-limit/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/consumer-rate-limit/build.sh
===================================================================
--- trunk/examples/jms/consumer-rate-limit/build.sh (rev 0)
+++ trunk/examples/jms/consumer-rate-limit/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/consumer-rate-limit/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/dead-letter/build.bat
===================================================================
--- trunk/examples/jms/dead-letter/build.bat (rev 0)
+++ trunk/examples/jms/dead-letter/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/dead-letter/build.sh
===================================================================
--- trunk/examples/jms/dead-letter/build.sh (rev 0)
+++ trunk/examples/jms/dead-letter/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/dead-letter/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/delayed-redelivery/build.bat
===================================================================
--- trunk/examples/jms/delayed-redelivery/build.bat (rev 0)
+++ trunk/examples/jms/delayed-redelivery/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/delayed-redelivery/build.sh
===================================================================
--- trunk/examples/jms/delayed-redelivery/build.sh (rev 0)
+++ trunk/examples/jms/delayed-redelivery/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/delayed-redelivery/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/divert/build.bat
===================================================================
--- trunk/examples/jms/divert/build.bat (rev 0)
+++ trunk/examples/jms/divert/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/divert/build.sh
===================================================================
--- trunk/examples/jms/divert/build.sh (rev 0)
+++ trunk/examples/jms/divert/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/divert/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/durable-subscription/build.bat
===================================================================
--- trunk/examples/jms/durable-subscription/build.bat (rev 0)
+++ trunk/examples/jms/durable-subscription/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/durable-subscription/build.sh
===================================================================
--- trunk/examples/jms/durable-subscription/build.sh (rev 0)
+++ trunk/examples/jms/durable-subscription/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/durable-subscription/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/embedded/build.bat
===================================================================
--- trunk/examples/jms/embedded/build.bat (rev 0)
+++ trunk/examples/jms/embedded/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/embedded/build.sh
===================================================================
--- trunk/examples/jms/embedded/build.sh (rev 0)
+++ trunk/examples/jms/embedded/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/embedded/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/expiry/build.bat
===================================================================
--- trunk/examples/jms/expiry/build.bat (rev 0)
+++ trunk/examples/jms/expiry/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/expiry/build.sh
===================================================================
--- trunk/examples/jms/expiry/build.sh (rev 0)
+++ trunk/examples/jms/expiry/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/expiry/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/http-transport/build.bat
===================================================================
--- trunk/examples/jms/http-transport/build.bat (rev 0)
+++ trunk/examples/jms/http-transport/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/http-transport/build.sh
===================================================================
--- trunk/examples/jms/http-transport/build.sh (rev 0)
+++ trunk/examples/jms/http-transport/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/http-transport/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/instantiate-connection-factory/build.bat
===================================================================
--- trunk/examples/jms/instantiate-connection-factory/build.bat (rev 0)
+++ trunk/examples/jms/instantiate-connection-factory/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/instantiate-connection-factory/build.sh
===================================================================
--- trunk/examples/jms/instantiate-connection-factory/build.sh (rev 0)
+++ trunk/examples/jms/instantiate-connection-factory/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/instantiate-connection-factory/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/interceptor/build.bat
===================================================================
--- trunk/examples/jms/interceptor/build.bat (rev 0)
+++ trunk/examples/jms/interceptor/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/interceptor/build.sh
===================================================================
--- trunk/examples/jms/interceptor/build.sh (rev 0)
+++ trunk/examples/jms/interceptor/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/interceptor/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/jaas/build.bat
===================================================================
--- trunk/examples/jms/jaas/build.bat (rev 0)
+++ trunk/examples/jms/jaas/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/jaas/build.sh
===================================================================
--- trunk/examples/jms/jaas/build.sh (rev 0)
+++ trunk/examples/jms/jaas/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/jaas/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/jmx/build.bat
===================================================================
--- trunk/examples/jms/jmx/build.bat (rev 0)
+++ trunk/examples/jms/jmx/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/jmx/build.sh
===================================================================
--- trunk/examples/jms/jmx/build.sh (rev 0)
+++ trunk/examples/jms/jmx/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/jmx/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/large-message/build.bat
===================================================================
--- trunk/examples/jms/large-message/build.bat (rev 0)
+++ trunk/examples/jms/large-message/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/large-message/build.sh
===================================================================
--- trunk/examples/jms/large-message/build.sh (rev 0)
+++ trunk/examples/jms/large-message/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/large-message/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/last-value-queue/build.bat
===================================================================
--- trunk/examples/jms/last-value-queue/build.bat (rev 0)
+++ trunk/examples/jms/last-value-queue/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/last-value-queue/build.sh
===================================================================
--- trunk/examples/jms/last-value-queue/build.sh (rev 0)
+++ trunk/examples/jms/last-value-queue/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/last-value-queue/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/management/build.bat
===================================================================
--- trunk/examples/jms/management/build.bat (rev 0)
+++ trunk/examples/jms/management/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/management/build.sh
===================================================================
--- trunk/examples/jms/management/build.sh (rev 0)
+++ trunk/examples/jms/management/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/management/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/management-notifications/build.bat
===================================================================
--- trunk/examples/jms/management-notifications/build.bat (rev 0)
+++ trunk/examples/jms/management-notifications/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/management-notifications/build.sh
===================================================================
--- trunk/examples/jms/management-notifications/build.sh (rev 0)
+++ trunk/examples/jms/management-notifications/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/management-notifications/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/message-counters/build.bat
===================================================================
--- trunk/examples/jms/message-counters/build.bat (rev 0)
+++ trunk/examples/jms/message-counters/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/message-counters/build.sh
===================================================================
--- trunk/examples/jms/message-counters/build.sh (rev 0)
+++ trunk/examples/jms/message-counters/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/message-counters/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/message-group/build.bat
===================================================================
--- trunk/examples/jms/message-group/build.bat (rev 0)
+++ trunk/examples/jms/message-group/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/message-group/build.sh
===================================================================
--- trunk/examples/jms/message-group/build.sh (rev 0)
+++ trunk/examples/jms/message-group/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/message-group/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/message-priority/build.bat
===================================================================
--- trunk/examples/jms/message-priority/build.bat (rev 0)
+++ trunk/examples/jms/message-priority/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/message-priority/build.sh
===================================================================
--- trunk/examples/jms/message-priority/build.sh (rev 0)
+++ trunk/examples/jms/message-priority/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/message-priority/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/no-consumer-buffering/build.bat
===================================================================
--- trunk/examples/jms/no-consumer-buffering/build.bat (rev 0)
+++ trunk/examples/jms/no-consumer-buffering/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/no-consumer-buffering/build.sh
===================================================================
--- trunk/examples/jms/no-consumer-buffering/build.sh (rev 0)
+++ trunk/examples/jms/no-consumer-buffering/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/no-consumer-buffering/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/paging/build.bat
===================================================================
--- trunk/examples/jms/paging/build.bat (rev 0)
+++ trunk/examples/jms/paging/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/paging/build.sh
===================================================================
--- trunk/examples/jms/paging/build.sh (rev 0)
+++ trunk/examples/jms/paging/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/paging/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/perf/build.bat
===================================================================
--- trunk/examples/jms/perf/build.bat (rev 0)
+++ trunk/examples/jms/perf/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/perf/build.sh
===================================================================
--- trunk/examples/jms/perf/build.sh (rev 0)
+++ trunk/examples/jms/perf/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/perf/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/pre-acknowledge/build.bat
===================================================================
--- trunk/examples/jms/pre-acknowledge/build.bat (rev 0)
+++ trunk/examples/jms/pre-acknowledge/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/pre-acknowledge/build.sh
===================================================================
--- trunk/examples/jms/pre-acknowledge/build.sh (rev 0)
+++ trunk/examples/jms/pre-acknowledge/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/pre-acknowledge/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/producer-rate-limit/build.bat
===================================================================
--- trunk/examples/jms/producer-rate-limit/build.bat (rev 0)
+++ trunk/examples/jms/producer-rate-limit/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/producer-rate-limit/build.sh
===================================================================
--- trunk/examples/jms/producer-rate-limit/build.sh (rev 0)
+++ trunk/examples/jms/producer-rate-limit/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/producer-rate-limit/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/queue/build.bat
===================================================================
--- trunk/examples/jms/queue/build.bat (rev 0)
+++ trunk/examples/jms/queue/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/queue/build.sh
===================================================================
--- trunk/examples/jms/queue/build.sh (rev 0)
+++ trunk/examples/jms/queue/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/queue/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/queue-message-redistribution/build.bat
===================================================================
--- trunk/examples/jms/queue-message-redistribution/build.bat (rev 0)
+++ trunk/examples/jms/queue-message-redistribution/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/queue-message-redistribution/build.sh
===================================================================
--- trunk/examples/jms/queue-message-redistribution/build.sh (rev 0)
+++ trunk/examples/jms/queue-message-redistribution/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/queue-message-redistribution/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/queue-requestor/build.bat
===================================================================
--- trunk/examples/jms/queue-requestor/build.bat (rev 0)
+++ trunk/examples/jms/queue-requestor/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/queue-requestor/build.sh
===================================================================
--- trunk/examples/jms/queue-requestor/build.sh (rev 0)
+++ trunk/examples/jms/queue-requestor/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/queue-requestor/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/queue-selector/build.bat
===================================================================
--- trunk/examples/jms/queue-selector/build.bat (rev 0)
+++ trunk/examples/jms/queue-selector/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/queue-selector/build.sh
===================================================================
--- trunk/examples/jms/queue-selector/build.sh (rev 0)
+++ trunk/examples/jms/queue-selector/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/queue-selector/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/reconnect-same-node/build.bat
===================================================================
--- trunk/examples/jms/reconnect-same-node/build.bat (rev 0)
+++ trunk/examples/jms/reconnect-same-node/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/reconnect-same-node/build.sh
===================================================================
--- trunk/examples/jms/reconnect-same-node/build.sh (rev 0)
+++ trunk/examples/jms/reconnect-same-node/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/reconnect-same-node/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/request-reply/build.bat
===================================================================
--- trunk/examples/jms/request-reply/build.bat (rev 0)
+++ trunk/examples/jms/request-reply/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/request-reply/build.sh
===================================================================
--- trunk/examples/jms/request-reply/build.sh (rev 0)
+++ trunk/examples/jms/request-reply/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/request-reply/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/scheduled-message/build.bat
===================================================================
--- trunk/examples/jms/scheduled-message/build.bat (rev 0)
+++ trunk/examples/jms/scheduled-message/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/scheduled-message/build.sh
===================================================================
--- trunk/examples/jms/scheduled-message/build.sh (rev 0)
+++ trunk/examples/jms/scheduled-message/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/scheduled-message/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/security/build.bat
===================================================================
--- trunk/examples/jms/security/build.bat (rev 0)
+++ trunk/examples/jms/security/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/security/build.sh
===================================================================
--- trunk/examples/jms/security/build.sh (rev 0)
+++ trunk/examples/jms/security/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/security/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/send-acknowledgements/build.bat
===================================================================
--- trunk/examples/jms/send-acknowledgements/build.bat (rev 0)
+++ trunk/examples/jms/send-acknowledgements/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/send-acknowledgements/build.sh
===================================================================
--- trunk/examples/jms/send-acknowledgements/build.sh (rev 0)
+++ trunk/examples/jms/send-acknowledgements/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/send-acknowledgements/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/ssl-enabled/build.bat
===================================================================
--- trunk/examples/jms/ssl-enabled/build.bat (rev 0)
+++ trunk/examples/jms/ssl-enabled/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/ssl-enabled/build.sh
===================================================================
--- trunk/examples/jms/ssl-enabled/build.sh (rev 0)
+++ trunk/examples/jms/ssl-enabled/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/ssl-enabled/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/static-selector/build.bat
===================================================================
--- trunk/examples/jms/static-selector/build.bat (rev 0)
+++ trunk/examples/jms/static-selector/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/static-selector/build.sh
===================================================================
--- trunk/examples/jms/static-selector/build.sh (rev 0)
+++ trunk/examples/jms/static-selector/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/static-selector/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/static-selector-jms/build.bat
===================================================================
--- trunk/examples/jms/static-selector-jms/build.bat (rev 0)
+++ trunk/examples/jms/static-selector-jms/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/static-selector-jms/build.sh
===================================================================
--- trunk/examples/jms/static-selector-jms/build.sh (rev 0)
+++ trunk/examples/jms/static-selector-jms/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/static-selector-jms/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/symmetric-cluster/build.bat
===================================================================
--- trunk/examples/jms/symmetric-cluster/build.bat (rev 0)
+++ trunk/examples/jms/symmetric-cluster/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/symmetric-cluster/build.sh
===================================================================
--- trunk/examples/jms/symmetric-cluster/build.sh (rev 0)
+++ trunk/examples/jms/symmetric-cluster/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/symmetric-cluster/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/temp-queue/build.bat
===================================================================
--- trunk/examples/jms/temp-queue/build.bat (rev 0)
+++ trunk/examples/jms/temp-queue/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/temp-queue/build.sh
===================================================================
--- trunk/examples/jms/temp-queue/build.sh (rev 0)
+++ trunk/examples/jms/temp-queue/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/temp-queue/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/topic/build.bat
===================================================================
--- trunk/examples/jms/topic/build.bat (rev 0)
+++ trunk/examples/jms/topic/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/topic/build.sh
===================================================================
--- trunk/examples/jms/topic/build.sh (rev 0)
+++ trunk/examples/jms/topic/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/topic/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/topic-hierarchies/build.bat
===================================================================
--- trunk/examples/jms/topic-hierarchies/build.bat (rev 0)
+++ trunk/examples/jms/topic-hierarchies/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/topic-hierarchies/build.sh
===================================================================
--- trunk/examples/jms/topic-hierarchies/build.sh (rev 0)
+++ trunk/examples/jms/topic-hierarchies/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/topic-hierarchies/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/topic-selector-example1/build.bat
===================================================================
--- trunk/examples/jms/topic-selector-example1/build.bat (rev 0)
+++ trunk/examples/jms/topic-selector-example1/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/topic-selector-example1/build.sh
===================================================================
--- trunk/examples/jms/topic-selector-example1/build.sh (rev 0)
+++ trunk/examples/jms/topic-selector-example1/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/topic-selector-example1/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/topic-selector-example2/build.bat
===================================================================
--- trunk/examples/jms/topic-selector-example2/build.bat (rev 0)
+++ trunk/examples/jms/topic-selector-example2/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/topic-selector-example2/build.sh
===================================================================
--- trunk/examples/jms/topic-selector-example2/build.sh (rev 0)
+++ trunk/examples/jms/topic-selector-example2/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/topic-selector-example2/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/transactional/build.bat
===================================================================
--- trunk/examples/jms/transactional/build.bat (rev 0)
+++ trunk/examples/jms/transactional/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/transactional/build.sh
===================================================================
--- trunk/examples/jms/transactional/build.sh (rev 0)
+++ trunk/examples/jms/transactional/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/transactional/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/xa-heuristic/build.bat
===================================================================
--- trunk/examples/jms/xa-heuristic/build.bat (rev 0)
+++ trunk/examples/jms/xa-heuristic/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/xa-heuristic/build.sh
===================================================================
--- trunk/examples/jms/xa-heuristic/build.sh (rev 0)
+++ trunk/examples/jms/xa-heuristic/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/xa-heuristic/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/xa-receive/build.bat
===================================================================
--- trunk/examples/jms/xa-receive/build.bat (rev 0)
+++ trunk/examples/jms/xa-receive/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/xa-receive/build.sh
===================================================================
--- trunk/examples/jms/xa-receive/build.sh (rev 0)
+++ trunk/examples/jms/xa-receive/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/xa-receive/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/xa-send/build.bat
===================================================================
--- trunk/examples/jms/xa-send/build.bat (rev 0)
+++ trunk/examples/jms/xa-send/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/xa-send/build.sh
===================================================================
--- trunk/examples/jms/xa-send/build.sh (rev 0)
+++ trunk/examples/jms/xa-send/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/xa-send/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/examples/jms/xa-with-jta/build.bat
===================================================================
--- trunk/examples/jms/xa-with-jta/build.bat (rev 0)
+++ trunk/examples/jms/xa-with-jta/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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 %*
+)
+
Added: trunk/examples/jms/xa-with-jta/build.sh
===================================================================
--- trunk/examples/jms/xa-with-jta/build.sh (rev 0)
+++ trunk/examples/jms/xa-with-jta/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -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
+
+
+
Property changes on: trunk/examples/jms/xa-with-jta/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/src/bin/build.bat
===================================================================
--- trunk/src/bin/build.bat (rev 0)
+++ trunk/src/bin/build.bat 2009-10-13 19:34:57 UTC (rev 8097)
@@ -0,0 +1,60 @@
+@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"
+)
+
+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
Added: trunk/src/bin/build.sh
===================================================================
--- trunk/src/bin/build.sh (rev 0)
+++ trunk/src/bin/build.sh 2009-10-13 19:34:57 UTC (rev 8097)
@@ -0,0 +1,74 @@
+#!/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
+
+if [ -n "$OVERRIDE_ANT_HOME" ]; then
+
+ echo "ANT_HOME is ${OVERRIDE_ANT_HOME}"
+
+ export ANT_HOME=$OVERRIDE_ANT_HOME
+
+else
+
+ export ANT_HOME=tools/ant
+
+fi
+
+# 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
Property changes on: trunk/src/bin/build.sh
___________________________________________________________________
Name: svn:executable
+ *
14 years, 7 months
JBoss hornetq SVN: r8096 - trunk/tests/src/org/hornetq/tests/integration/client.
by do-not-reply@jboss.org
Author: clebert.suconic(a)jboss.com
Date: 2009-10-13 13:37:06 -0400 (Tue, 13 Oct 2009)
New Revision: 8096
Modified:
trunk/tests/src/org/hornetq/tests/integration/client/PagingTest.java
Log:
small tweak
Modified: trunk/tests/src/org/hornetq/tests/integration/client/PagingTest.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/integration/client/PagingTest.java 2009-10-13 16:16:57 UTC (rev 8095)
+++ trunk/tests/src/org/hornetq/tests/integration/client/PagingTest.java 2009-10-13 17:37:06 UTC (rev 8096)
@@ -1103,6 +1103,13 @@
// Package protected ---------------------------------------------
// Protected -----------------------------------------------------
+
+ protected Configuration createDefaultConfig()
+ {
+ Configuration config = super.createDefaultConfig();
+ config.setJournalSyncNonTransactional(false);
+ return config;
+ }
// Private -------------------------------------------------------
14 years, 7 months