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

log component with duplicated names in the runtime warning summary

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.2
    • Fix Version/s: 5.1.5
    • Component/s: Runtime

      Description

      Developers new to OSGI and nuxeo runtime often copy and paste OSGI-INF/something-contrib.xml files in their custom project jars to override the default settings but doing so often forget to change the name of the component and do not understand why their changes are not taken into account.

      To help them identify their mistake it would be helpful to display the filenames of components that use an already existing component name in the jboss startup summary, eg:

      1 component(s) using already registered component name (and therefor ignored):

      • 'org.nuxeo.ecm.platform.actions' in 'org.customproject.jar/OSGI-INF/actions-contrib.xml' already used by 'nuxeo-platform-webapp-core.jar/OSGI-INF/actions-contrib.xml'

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified