Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-3923

Share resources of GWT modules

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Minor
    • xCM 6.0
    • xCM 6.0
    • None

    Description

      Can we share the static resources (CSS, images etc.) of our GWT modules?
      Right now we include them as a module dependency:

      <inherits name="org.jahia.ajax.gwt.resources.Resources"/>

      which means, they are physically present in all our modules.
      These are 636 files in each module (about 1Mb large).
      We currently have 24 modules: 24 x 636 = 15264 files. So about 15 K of duplicate files. This is more than a half of the whole Jahia installation .

      Could we perhaps compile org.jahia.ajax.gwt.resources.Resources as a standalone module (not as a dependency) and reference resources e.g. in the following way:

      <stylesheet src="../org.jahia.ajax.gwt.resources.Resources/css/jahia-gxt-engines-resources.css"/>

      Will it work this way?

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                shyrkov Sergiy Shyrkov (Inactive)
                shyrkov Sergiy Shyrkov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases

                      Packages

                        Version Package
                        xCM 6.0