activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r593570 - in /activemq/activemq-cpp/trunk/src/examples: Makefile.am consumers/SimpleAsyncConsumer.cpp main.cpp producers/SimpleProducer.cpp
Date Fri, 09 Nov 2007 15:36:37 GMT
Author: tabish
Date: Fri Nov  9 07:36:36 2007
New Revision: 593570

URL: http://svn.apache.org/viewvc?rev=593570&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Modified:
    activemq/activemq-cpp/trunk/src/examples/Makefile.am
    activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp
    activemq/activemq-cpp/trunk/src/examples/main.cpp
    activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp

Modified: activemq/activemq-cpp/trunk/src/examples/Makefile.am
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/examples/Makefile.am?rev=593570&r1=593569&r2=593570&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/examples/Makefile.am (original)
+++ activemq/activemq-cpp/trunk/src/examples/Makefile.am Fri Nov  9 07:36:36 2007
@@ -21,21 +21,22 @@
 ## Compiler / Linker Info
 ##
 
-INCLUDES = -I$(srcdir)/../main
-
 ## Main Example
 bin_PROGRAMS = example 
 example_SOURCES = $(main_example_sources)
-example_LDADD= ../main/libactivemq-cpp.la
+example_LDADD= $(AMQ_TEST_LIBS)
+example_CXXFLAGS = $(AMQ_TEST_CXXFLAGS) -I$(srcdir)/../main
 
 ## Simple Async Consumer
 simple_async_consumer_sources = ./consumers/SimpleAsyncConsumer.cpp
 bin_PROGRAMS += simple_async_consumer 
 simple_async_consumer_SOURCES = $(simple_async_consumer_sources)
-simple_async_consumer_LDADD= ../main/libactivemq-cpp.la
+simple_async_consumer_LDADD= $(AMQ_TEST_LIBS)
+simple_async_consumer_CXXFLAGS = $(AMQ_TEST_CXXFLAGS) -I$(srcdir)/../main
 
 ## Simple Producer
 simple_producer_sources = ./producers/SimpleProducer.cpp
 bin_PROGRAMS += simple_producer 
 simple_producer_SOURCES = $(simple_producer_sources)
-simple_producer_LDADD= ../main/libactivemq-cpp.la
+simple_producer_LDADD= $(AMQ_TEST_LIBS)
+simple_producer_CXXFLAGS = $(AMQ_TEST_CXXFLAGS) -I$(srcdir)/../main

Modified: activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp?rev=593570&r1=593569&r2=593570&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp (original)
+++ activemq/activemq-cpp/trunk/src/examples/consumers/SimpleAsyncConsumer.cpp Fri Nov  9
07:36:36 2007
@@ -34,7 +34,8 @@
 
 using namespace activemq;
 using namespace activemq::core;
-using namespace activemq::util;
+using namespace decaf::lang;
+using namespace decaf::util;
 using namespace decaf::util::concurrent;
 using namespace cms;
 using namespace std;

Modified: activemq/activemq-cpp/trunk/src/examples/main.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/examples/main.cpp?rev=593570&r1=593569&r2=593570&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/examples/main.cpp (original)
+++ activemq/activemq-cpp/trunk/src/examples/main.cpp Fri Nov  9 07:36:36 2007
@@ -35,9 +35,9 @@
 #include <iostream>
 
 using namespace activemq::core;
-using namespace activemq::util;
 using namespace decaf::util::concurrent;
 using namespace decaf::util;
+using namespace decaf::lang;
 using namespace cms;
 using namespace std;
 

Modified: activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp?rev=593570&r1=593569&r2=593570&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp (original)
+++ activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp Fri Nov  9 07:36:36
2007
@@ -18,10 +18,10 @@
 #include <decaf/lang/Thread.h>
 #include <decaf/lang/Runnable.h>
 #include <decaf/util/concurrent/CountDownLatch.h>
-#include <activemq/core/ActiveMQConnectionFactory.h>
 #include <decaf/lang/Integer.h>
-#include <activemq/util/Config.h>
 #include <decaf/util/Date.h>
+#include <activemq/core/ActiveMQConnectionFactory.h>
+#include <activemq/util/Config.h>
 #include <cms/Connection.h>
 #include <cms/Session.h>
 #include <cms/TextMessage.h>
@@ -34,7 +34,9 @@
 
 using namespace activemq;
 using namespace activemq::core;
-using namespace activemq::util;
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::util;
 using namespace decaf::util::concurrent;
 using namespace cms;
 using namespace std;



Mime
View raw message