[DOCU-516] trying to run 'MigrateTemplateExecuteScripts' Created: 25/Apr/14  Updated: 05/May/14  Resolved: 05/May/14

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Support Request Priority: Neutral
Reporter: Markus Joos Assignee: Antti Hietala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Date of First Response:

 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



 Comments   
Comment by Antti Hietala [ 25/Apr/14 ]

The path should be an absolute path to the templates. Added an example in http://documentation.magnolia-cms.com/display/DOCS/Exercise+4+-+run+the+migration+tool

Comment by Markus Joos [ 05/May/14 ]

this can be closed, thank you antii

Generated at Mon Feb 12 01:09:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.