Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67064

Can not locate modules for Plugins SDK GA2

    Details

    • Fix Priority:
      4

      Description

      Build fails. It can not find the module `com.liferay.frontend.theme.unstyled` to build the theme. The modules have been removed from the modules folder, as far as I know, in GA2 and the .lpkg files are being used now instead(correct me if I'm wrong).

      The file paths etc. for the build.xml and task need to be updated to use the .lpkg files, instead of the modules folder.

      Steps to reproduce:

      1. extract fresh 7.0 GA2 Plugins SDK
      2. Build a theme using `./create.sh test "Test" for example.
      Theme builds seemingly fine.
      3. Deploy the theme using `ant deploy`, or war the theme using `ant war`

      build fails with the following error:

      `The module com.liferay.frontend.theme.unstyled does not exist.`:

      BUILD FAILED
      /Users/nick/liferay-plugins-sdks/com.liferay.portal.plugins.sdk-7.0/build-common.xml:2824: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      /Users/nick/liferay-plugins-sdks/com.liferay.portal.plugins.sdk-7.0/build-common.xml:1407: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      /Users/nick/liferay-plugins-sdks/com.liferay.portal.plugins.sdk-7.0/build-common.xml:2488: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      /Users/nick/liferay-plugins-sdks/com.liferay.portal.plugins.sdk-7.0/build-common.xml:659: The following error occurred while executing this line:
      /Users/nick/liferay-plugins-sdks/com.liferay.portal.plugins.sdk-7.0/build-common.xml:1263: The following error occurred while executing this line:
      /Users/nick/liferay-plugins-sdks/com.liferay.portal.plugins.sdk-7.0/build-common.xml:2285: The module com.liferay.frontend.theme.unstyled does not exist.

      Attached is the build.properties file for reference.

      It looks like the `com.liferay.frontend.theme.unstyled` module can be found here in the nexus repository: https://repository.liferay.com/nexus/content/repositories/liferay-public-releases/com/liferay/com.liferay.frontend.theme.unstyled/

      I'm not sure if you can use that or not.

      Thanks!

        Attachments

        1. build.nick.properties
          0.5 kB
        2. build.nick.properties
          0.5 kB
        3. build.nick.properties
          0.5 kB
        4. build.nick.properties
          0.5 kB
        5. build.nick.properties
          0.5 kB
          Michael Williams

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 3 weeks ago

                Packages

                Version Package
                7.0.1 CE GA2