Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-7102

Configuration Framework: Clarify how to apply the metatype bnd instruction

    Details

      Description

      Update the Configuration Interface article with corrected information about applying the bnd instruction

      metatype:*
      

      to third party modules, which is required for a UI to be generated in System Settings.

      1. Remove mention of `build.properties` if it's only applicable to development inside the portal source.*
      2. If you're in a workspace (like a Liferay Workspace) that applies the liferay plugin, no need to add the metatype bnd instruction.
      3. If you're not in a workspace that adds it automatically, you either must apply the liferay plugin to your build.gradle (assuming gradle), or else you need the metatype instruction in the bnd file (for example, in a Maven project or a Gradle project not using the Liferay plugin).

      * We must determine if the generation of a bnd instruction via the build.properties file is worth mentioning to third party devs. Is this ever used by third party devs, or only in building portal code?

      https://github.com/liferay/liferay-portal/blob/7.2.x/build.properties#L26

       

      While in here, fix typos:

      • it's > its
      • .build.properties > build.properties (if not removed entirely)

        Attachments

          Activity

            People

            • Assignee:
              richard.sezov Rich Sezov
              Reporter:
              russell.bohl Russell Bohl
              Subject Matter Expert:
              Pei-Jung Lan
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.2.x