Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-1587

Allow modules to be aware of other modules without requiring them

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: Module Engine
    • Labels:
      None
    • Complexity:
      Medium

      Description

      Hi Ben,

      I need to be able to make a module aware of other modules, without requiring them.

      A specific example: formimportexport should be aware of formentry, be compiled against formentry.jar, and be able to say something like:
      if (ModuleUtil.isRunning("formentry"))
      rebuildXsn();

      But I also want people to be able to install formimportexport without being required to install formentry.

      Is this easy to do? If so, can you point me (or someone else) in that direction?

      -Darius

        Attachments

        1. patch.txt
          11 kB
          Daniel Kayiwa

          Activity

            People

            Assignee:
            dkayiwa Daniel Kayiwa
            Reporter:
            darius Darius Jazayeri
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: