On Wed, 2009-08-05 at 15:54 +0200, peter....@gmx.net wrote:
> Hi,
> 
> I solved the problem. The cppunit version from SuSE does not work with the 
> activemq-cpp lib. I installed a current version which works.
> 
> One problem left to solve: I can't run any examples because the request 
> broker is installed on a remote machine. Is there an easy way to run the 
> tests e.g. the simple producer? I just want to know if everything works.
> 
> 

The only way to change the url that the tests use is to modify the url
in the IntegrationCommon.cpp file in the test-integration/activemq/util
folder  

The code looks something like this:

////////////////////////////////////////////////////////////////////////////////
IntegrationCommon::IntegrationCommon() {

    this->urlCommon = "tcp://localhost:";
    this->stompURL = this->urlCommon + "61613?wireFormat=stomp";
    this->openwireURL = this->urlCommon + "61616?wireFormat=openwire";
}

You may want to browse through the issues list for the 2.2.x line and
make sure you won't be affected by anything that was fixed in later 2.2
releases.

Regards
Tim.



> Cheers,
> Pete
> 
> 
> -------- Original-Nachricht --------
> > Datum: Wed, 05 Aug 2009 09:16:20 -0400
> > Von: Timothy Bish <tabish...@gmail.com>
> > An: users@activemq.apache.org
> > Betreff: Re: Make check fails when building activemq-cpp-2.2 on SUES 10
> 
> > On Wed, 2009-08-05 at 15:02 +0200, peter....@gmx.net wrote:
> > > Hi,
> > > 
> > > just moved the build directory to a different location. Now the build
> > process finished without any problem. 
> > > Still I can't run any example because the make did not build the
> > examples e.g. I can't find the file ./activemq-test-integration as 
> > mentionend in
> > the docs.
> > > 
> > > SUES 10 comes also with separate devel packages for CPUnit. 
> > > 
> > > Cheers,
> > > Pete
> > 
> > You won't get the unit or integration tests built until you solve the
> > CPPUnit errors problem as both are part of the make check target.  The
> > example dir in 2.2 contains only one example app called, 'exmaple' that
> > should be built by the default make.  You need both the main CPPUnit
> > package installed and the devel package installed in order to build the
> > tests.
> > 
> > Regards
> > Tim.
> > 
> > 
> > -- 
> > Tim Bish
> > http://fusesource.com
> > http://timbish.blogspot.com/
> > 
> > 
> 
-- 
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/



Reply via email to