Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32518

Try to remove duplicate libs in lib and nxserver/lib for Nuxeo Stream log4j Appender

    XMLWordPrintable

    Details

    • Sprint:
      nxplatform #112, nxplatform #113
    • Story Points:
      1

      Description

      With NXP-32230, we end up with 6 libs duplicated in both lib and nxserver/lib, see https://github.com/nuxeo/nuxeo-lts/commit/5249a7d0fcefce8c951cd52100fb41fca23a59d4#diff-2fe71d62c1ae302010fbed3c4233606f16c1a2ffc0bd350a8a6bd1f358b332cdR167.

      We probably don't need to have them duplicated, the classloader should ignore their occurrence in nxserver/lib.
      Moreover, this added some special case handling in the hotfix build when comparing modified bundles, see https://github.com/nuxeo/integration-scripts-priv/commit/185b5cec89c8752b6349cd170702eb224a0827ac.

      We can either:

      • Remove them from nxserver/lib, as for the Tomcat libraries or DB drivers.
      • Move them from nxserver/lib to lib, instead of copying them.

      Also note that this impacts the nuxeo-launcher that relies on the nuxeo-log4j, since NXP-32230 (2023HF8) the size of the jar is 39MB (13MB before).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: