Page 1 of 1
Moving a project to another location
Posted: Wed Jul 24, 2013 3:09 pm
by rww
My project files reside on an external drive and I'd like to move them to a local drive. But when I do this the map references still point to the old external location. Is there a way to have the maps updated automatically so they point to the new location?
Thanks
Rich
Re: Moving a project to another location
Posted: Wed Jul 24, 2013 3:47 pm
by rww
Ok I found how to do it - by looking in the user manual

Re: Moving a project to another location
Posted: Wed Jul 24, 2013 3:50 pm
by Radu
Hi Rich,
I do not quite understand, if your entire DITA project was in one place then all references from the DITA Map to the topics should have been relative and thus the project could have been relocated easily.
Or do you keep the DITA Map on the local disk and the topics on the external drive?
What exactly did you find in our user manual which fixed your situation?
Regards,
Radu
Re: Moving a project to another location
Posted: Wed Jul 24, 2013 5:03 pm
by rww
I was having a bit of a nightmare just then trying to fix broken references
I can't entirely be sure what went wrong, but it may have got something to do with symlinks in my folder structure. Anyway, rather than navigating to the external drive via symlinks, I copied the project folder
directly from the external drive to the local drive location, avoiding symlinks and everything is now working fine and all links are correctly referenced.
Symlinks might also explain why my output is being buried in my output folder + the symlink path to my project folder, which means I'm getting PDFs output to /home/richard/XMLproject/out/pdf/media/ExtStoreB/Work/XMLproject/output.pdf. I've yet to test whether this is still happening or not when I create output from my new local drive location.
The bit in the manual I thought I needed was 'Moving and Renaming Resources' on page 343, but that turned out not to be the case.
Re: Moving a project to another location
Posted: Wed Jul 24, 2013 5:31 pm
by Radu
Hi Rich,
The Move/Rename is useful only if you want to move a topic in the context of a DITA Map, it does not work on multiple selected topics so indeed it was not useful in your case. Indeed, probably symlinks were the problem.
Regards,
Radu
Re: Moving a project to another location
Posted: Wed Jul 24, 2013 5:35 pm
by rww
Just to let you know, output is now being created in the ../out/pdf directory. So symlinks were definitely causing an issue.
Thanks for your help.