Copying additional resources from a relative folder path
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 9
- Joined: Mon Sep 12, 2022 8:46 pm
Copying additional resources from a relative folder path
Hello,
I want to copy additional resources to the output root directory on webhelp.
https://www.oxygenxml.com/doc/versions/ ... Cdirectory From this page, I understand that I can use the "webhelp.custom.resources" parameter to achieve this. However, this only works when the folder I want to copy is located in the directory where the opt file is located. I want to copy it from the directory where the bookmap is located.
How would I define that pathway? I tried using an absolute path but that didn't work.
I want to copy additional resources to the output root directory on webhelp.
https://www.oxygenxml.com/doc/versions/ ... Cdirectory From this page, I understand that I can use the "webhelp.custom.resources" parameter to achieve this. However, this only works when the folder I want to copy is located in the directory where the opt file is located. I want to copy it from the directory where the bookmap is located.
How would I define that pathway? I tried using an absolute path but that didn't work.
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Copying additional resources from a relative folder path
Hi,
You can copy additional resources to the output directory using the 'webhelp.custom.resources' parameter no matter where the resources directory is located (using the parameter there is no restriction to have the resources location to the publishing template).
This procedure is described in our user manual (second link from the page you've indicated) and you need to use absolute path for the directory that contains the files:
Copying Additional Resources to the Output Directory using a Transformation Parameter
We have tested this procedure again and all files from the directory are copied to the root of the WebHelp output directory (not also the folder itself).
I hope this helps.
Regards,
Ionela
You can copy additional resources to the output directory using the 'webhelp.custom.resources' parameter no matter where the resources directory is located (using the parameter there is no restriction to have the resources location to the publishing template).
This procedure is described in our user manual (second link from the page you've indicated) and you need to use absolute path for the directory that contains the files:
Copying Additional Resources to the Output Directory using a Transformation Parameter
We have tested this procedure again and all files from the directory are copied to the root of the WebHelp output directory (not also the folder itself).
I hope this helps.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 9
- Joined: Mon Sep 12, 2022 8:46 pm
Re: Copying additional resources from a relative folder path
Thank you for the help! However, I wanted to know if there's a way to set a relative pathway instead of an absolute pathway? I want to set the pathway to a folder that is ALWAYS located where the bookmap is located. How would I do that?
Last edited by almeim on Tue Oct 11, 2022 10:21 pm, edited 1 time in total.
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Copying additional resources from a relative folder path
Hi,
You can use relative path only if you copy the resources using a publishing template (the first step from the above procedure)
If you use the transformation parameter, you cannot use relative path, only absolut path.
I have added your feedback as an improvement request to our issue tracking tool to be further analyzed by our development team. They we'll analyze to determine if the current procedure can be improved in a future version of Oxygen XML.
Regards,
Ionela
You can use relative path only if you copy the resources using a publishing template (the first step from the above procedure)
If you use the transformation parameter, you cannot use relative path, only absolut path.
I have added your feedback as an improvement request to our issue tracking tool to be further analyzed by our development team. They we'll analyze to determine if the current procedure can be improved in a future version of Oxygen XML.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service