[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: missing file: XmlBlasterConnection.h



Thanks for the info.

I was starting to think that I was going crazy ;-)
DouglasDD
--
  we want to stop reading magazines,
  stop watching tv,
  stop caring about hollywood,
  but we are addicted to things we hate.
    - Dogma, KMFDM


-----Original Message-----
From: owner-xmlblaster at xmlBlaster.org
[mailto:owner-xmlblaster at xmlBlaster.org]On Behalf Of Marcel Ruff
Sent: Monday, June 18, 2001 5:23 PM
To: xmlblaster at xmlBlaster.org
Subject: Re: missing file: XmlBlasterConnection.h


Douglas Dickinson wrote:
>
> > Did you run the IDL compiler? xmlBlaster.h is
> > generated as a stub from xmlblaster.idl - see
> > client.cc
>
> Yes, I ran the idl compiler.
> It generated xmlBlaster.h (used in testsuite/c++/client.cc)
>
> However there is still no file client/XmlBlasterConnection.h
> (used in testsuite/c++/RamTest.cc, TestGet.cc, TestLogin.cc, TestSub.cc)
>
> In fact these files are the only ones that refer to
XmlBlasterConnection.h:
> $ find ~/xmlBlaster -type f -exec fgrep -l XmlBlasterConnection.h {} \;
> ./testsuite/c++/RamTest.cc
> ./testsuite/c++/TestGet.cc
> ./testsuite/c++/TestLogin.cc
> ./testsuite/c++/TestSub.cc

Ahh, i just checked the cvs log:

---------------
revision 1.5
date: 2001/03/16 09:47:03;  author: ruff;  state: Exp;  lines: +4 -4
Renamed XmlBlasterConnection to CorbaConnection
---------------

This is a bug in REL_0_7_9b.

To fix it you need to download the current release
with cvs, or rename it in your files manually:


ruff:~/xmlBlaster/testsuite/c++$ cvs diff -r 1.4 RamTest.cc
Index: RamTest.cc
===================================================================
RCS file: /opt/cvsroot/xmlBlaster/testsuite/c++/RamTest.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -r1.4 -r1.5
--- RamTest.cc  2000/10/18 20:45:43     1.4
+++ RamTest.cc  2001/03/16 09:47:03     1.5
 at  at  -3,12 +3,12  at  at 
 Project:   xmlBlaster.org
 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
 Comment:   Load test for xmlBlaster
-Version:   $Id: RamTest.cc,v 1.4 2000/10/18 20:45:43 ruff Exp $
+Version:   $Id: RamTest.cc,v 1.5 2001/03/16 09:47:03 ruff Exp $

---------------------------------------------------------------------------*
/

 #include <string>
 #include <strstream.h>
-#include <client/XmlBlasterConnection.h>
+#include <client/CorbaConnection.h>
 #include <util/StopWatch.h>

 /**
 at  at  -41,7 +41,7  at  at 

    const static int NUM_PUBLISH = 1000;
    util::StopWatch  stopWatch_;
-   XmlBlasterConnection* senderConnection_;
+   CorbaConnection* senderConnection_;
    string           publishOid_;
    string           senderName_;
    string           senderContent_;
 at  at  -71,7 +71,7  at  at 
     */
    void setUp(int args=0, char *argc[]=0) {
       try {
-         senderConnection_ = new XmlBlasterConnection(args, argc); //
Find orb
+         senderConnection_ = new CorbaConnection(args, argc); // Find
orb
          string passwd = "secret";
          senderConnection_->login(senderName_, passwd, 0);
           // Login to xmlBlaster without Callback



Sorry about the inconvenience,

Marcel

--
Marcel Ruff
mailto:ruff at swand.lake.de
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org