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

Add build target for starting Tomcat with JRebel

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.7.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      Following Justin's work to get OpenMRS playing nicely with JRebel, it would be great to add some tools to OpenMRS to help users take advantage of this more easily.

      I have locally added a new ant target "tomcat-start-jrebel", which does the following:

      • Copies a rebel.xml file from a location specified in build.properties to the WEB-INF/classes directory
      • Starts up Tomcat with the appropriate jvm arguments, referencing a build.properties variable for the location of jrebel.jar.

      This seems to work pretty nicely, and is probably something others would appreciate, so want to propose adding it to core.

      Happy to take changes that make it even better.

      See attached the patch to build.xml to make this work...

      Proposing this change for OpenMRS 1.5 +, though would be easy to backport even further...

        Gliffy Diagrams

          Attachments

          1. 167-jrebel-on-trunk-1.patch
            2 kB
          2. jrebel-build.patch
            1 kB
          3. log
            39 kB
          4. run.sh
            0.4 kB

            Activity

              People

              Assignee:
              mseaton Mike Seaton
              Reporter:
              mseaton Mike Seaton
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: