Moving a project to another location

Having trouble installing Oxygen? Got a bug to report? Post it all here.
rww
Posts: 23
Joined: Wed Jul 24, 2013 12:40 am

Moving a project to another location

Post 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
rww
Posts: 23
Joined: Wed Jul 24, 2013 12:40 am

Re: Moving a project to another location

Post by rww »

Ok I found how to do it - by looking in the user manual :?
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Moving a project to another location

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
rww
Posts: 23
Joined: Wed Jul 24, 2013 12:40 am

Re: Moving a project to another location

Post 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.
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Moving a project to another location

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
rww
Posts: 23
Joined: Wed Jul 24, 2013 12:40 am

Re: Moving a project to another location

Post 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.
Post Reply