TWCable / grabbit

Grabbit - Fast Content Sync tool for AEM/CQ
Apache License 2.0
125 stars 64 forks source link

No option to give a context root #187

Open royteeuwen opened 7 years ago

royteeuwen commented 7 years ago

Hey,

It seems that in the current config.json it is not possible to specify a context root. Seeing as our servers run under a specific root, for example http://author.localhost:4502/CR/content/my-site, it is not possible to do the sync.

Greets, Roy

jbornemann commented 7 years ago

Hey @royteeuwen, I may not fully understand, so I apologize.

Are you asking for a nice way to specify a global context root in a config file, or are you saying that you can't complete a sync with a non-"/content" root?

Just a note, as you may already be aware - path configs within grabbit configuration are not tied to "/content"; they are all absolute. You are free to define paths such as "/CR/content/my-site/a", "/CR/content/my-site/b", etc.

If it's the latter, what do you get in the logs? version? output?

royteeuwen commented 7 years ago

Hey @jbornemann ,

It is the first one that I would like, seeing as the context root is independent of the content paths. If i would specify the context root in the path configs, it would try to sync /CR/content/my-site to the path /CR/content/my-site on the other server, thats not what I want. I want it to sync to /content/my-site

Greets, Roy