Qpid
  1. Qpid
  2. QPID-2530

Refactor the broker-plugins directory setup to allow adding new modules

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: None
    • Labels:
      None

      Description

      The broker-plugins is currently having only one module (DiagnosticExchange and TestExchange). We should have a directory for each module building as a separate jar. This would allow adding a new module to be just a matter of creating a new directory and adding it to the build system, We should move the content of the src directory to its own plugin directory and adjust the build system accordingly. Suggested layout:

      broker-plugins
      ---> build.xml
      ---> extras (OSGI-Plugin)
      ---> my_plugin1 (OSGI-Plugin)
      ---> my_plugin2 (OSGI-Plugin)
      .... etc

      Please perform the following: on java/broker-plugins folder:

      • delete the src folder and untar the tarball attached
      • remove the build.xml and add the attached build.xml
      • apply QPID-2502 to fix the PluginManager.java issue with security tracker
      • apply QPID-2513
      • apply QPID-2531 to update the build.deps and main build.xml
      1. extras.tgz
        4 kB
        Sorin Suciu
      2. build.xml
        1 kB
        Sorin Suciu

        Activity

        Hide
        Robbie Gemmell added a comment -

        Changes look good.

        Show
        Robbie Gemmell added a comment - Changes look good.
        Hide
        Martin Ritchie added a comment -

        Hi Robbie, can you take a look at these changes.

        Show
        Martin Ritchie added a comment - Hi Robbie, can you take a look at these changes.
        Hide
        Robbie Gemmell added a comment -

        Reopening to resolve the feedback issues discussed on the QPID-2531 JIRA.

        Show
        Robbie Gemmell added a comment - Reopening to resolve the feedback issues discussed on the QPID-2531 JIRA.

          People

          • Assignee:
            Martin Ritchie
            Reporter:
            Sorin Suciu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development