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

Allow setting Vaadin production mode via magnolia.properties

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD