Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-2482

Allow setting Vaadin production mode via magnolia.properties

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Neutral
    • None
    • None
    • framework

    Description

      We should be able to switch the productionMode flag of Vaadin based on the value of our magnolia.develop property rather than have the two independent mechanism (web.xml for Vaadin, magnolia.properties for everything else)

      It looks like this should be doable by override com.vaadin.server.VaadinServlet#createDeploymentConfiguration in AdmincentralVaadinServlet and perhaps have it use another implementation of com.vaadin.server.DeploymentConfiguration.

      This sounds easy - but of course needs to be tested.
      Ideally, this could be implemented using IoC if MAGNOLIA-4396 was fixed.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD