Uploaded image for project: 'Magnolia CLI npm module '
  1. Magnolia CLI npm module
  2. NPMCLI-156

Jumpstart sets wrong light-modules directory on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 3.0.0, 2.2.1
    • Labels:
      None
    • Environment:
      Windows 10 Pro
      java version "9.0.1"
      Java(TM) SE Runtime Environment (build 9.0.1+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
      node --version v8.9.4
    • Epic Link:
    • Sprint:
      Kromeriz 134
    • Story Points:
      2

      Description

      Following the tutorial https://documentation.magnolia-cms.com/display/DOCS56/Hello+Magnolia

      Description:
      Light modules created in the light-modules folder are not being loaded

      Steps to reproduce:
      1. run mgnl jumpstart
      2. got to

      {magnolia-home}

      \apache-tomcat\webapps\magnoliaAuthor\WEB-INF\config\default
      3. open the magnolia.properties
      4. Observe the malformed path

      1. The directory to expose file system resources from
        magnolia.resources.dir=${magnolia.home}/..\..\..\light-modules

      Workaround:
      Change the path to:

      magnolia.resources.dir=${magnolia.home}/../../../light-modules

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsimak Jaroslav Simak
                Reporter:
                czimmermann Christopher Zimmermann
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: