Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-516

trying to run 'MigrateTemplateExecuteScripts'

    XMLWordPrintable

Details

    • Support Request
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • None

    Description

      hi,

      i want to run the migration script but i cant figure out which parameters i should set there
      given i have these libs from my project

      crb-mainwebsite-content-0.8.2.3.jar
      crb-mainwebsite-module-0.8.2.3.jar
      crb-mainwebsite-theme-0.8.2.3.jar

      def modulesMap = ["crb-mainwebsite": "/path/to/the/templates/"]
      

      i figured:
      moduleName must be crb-mainwebsite since this appears in 'installed modules' and is defined in modules config.
      /path/to/the/templates/ i dont know how that should look like. absolute path to the templates?

      in the project i have:
      ./crbmagnolia-master/crb-mainwebsite-module/src/main/resources/mgnl-bootstrap/crb-mainwebsite/templates
      ./crbmagnolia-master/crb-mainwebsite-module/src/main/resources/crb-mainwebsite/templates

          def siteDefinitions = [
            "/modules/moduleName/config/site": "/path/to/the/templates/",
            "/modules/moduleName/config/sites/default": "/path/to/the/templates/"
          ]
      

      dont know - have:
      joos@adnvl082:~/projects/crbmagnolia> find . -name "site"
      ./crbmagnolia-master/crb-mainwebsite-module/src/main/resources/mgnl-bootstrap/crb-mainwebsite/config/site
      joos@adnvl082:~/projects/crbmagnolia> find . -name "default"
      ./crbmagnolia-master/crb-mainwebsite-webapp/src/main/webapp/WEB-INF/config/default

      Attachments

        Activity

          People

            ahietala Antti Hietala
            mjoos Markus Joos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: