Qpid
  1. Qpid
  2. QPID-4552

C++ Messaging examples don't build

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21
    • Fix Version/s: 0.21
    • Component/s: C++ Client
    • Labels:
      None
    • Environment:

      Linux C++

      Description

      Changes made for QPID-4372 2013-01-18 r1435129 remove messaging examples from the build pool. The usual spout, drain, client, server, hello_world don't get built.

      Reverting the change brings them back so possibly they are too aggressive.

        Activity

        Hide
        Darryl L. Pierce added a comment -

        That was intentional, the examples not being built. My thinking was that the user who installs the Qpid would take the examples and the CMakeLists.txt file and build them separate from the installation.

        Show
        Darryl L. Pierce added a comment - That was intentional, the examples not being built. My thinking was that the user who installs the Qpid would take the examples and the CMakeLists.txt file and build them separate from the installation.
        Hide
        Chuck Rolke added a comment -

        That's fine but I use the examples on a day-to-day basis. Suppose as a devo I add logging feature X to the broker. I need to trigger the log to get a breakpoint in the broker. Hello_world.cpp is my friend.

        How do I build the examples from a developer setup? I don't mind that there's some steps but what are they?

        Thanks.

        Show
        Chuck Rolke added a comment - That's fine but I use the examples on a day-to-day basis. Suppose as a devo I add logging feature X to the broker. I need to trigger the log to get a breakpoint in the broker. Hello_world.cpp is my friend. How do I build the examples from a developer setup? I don't mind that there's some steps but what are they? Thanks.
        Hide
        Gordon Sim added a comment -

        I agree with Chuck, http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/examples/messaging/CMakeLists.txt?r1=1435129&r2=1435128&pathrev=1435129 changes too much. By all means add support for cmake in the installed examples, but why prevent them being built during normal build? That will just allow errors to go undetected as well as being a pain for those of us working from source builds rather than packaged versions.

        Show
        Gordon Sim added a comment - I agree with Chuck, http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/examples/messaging/CMakeLists.txt?r1=1435129&r2=1435128&pathrev=1435129 changes too much. By all means add support for cmake in the installed examples, but why prevent them being built during normal build? That will just allow errors to go undetected as well as being a pain for those of us working from source builds rather than packaged versions.

          People

          • Assignee:
            Darryl L. Pierce
            Reporter:
            Chuck Rolke
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development