Include multiple webhelp.custom.resources paths
Posted: Tue Jul 06, 2021 3:39 pm
Hi,
I'm trying out the following scenario for generating the webhelp output along with PDFs:
For the PDF transformation, I've set the output folder to ${cfd}/pdfs. And for the webhelp trasnformation, I've set the same folder as the webhelp.custom.resources parameter. And this works fine when I select the corresponding ditamap files in the Project tab and choose Transform > Apply Transformation Scenarios. The PDF generates first and gets stored in the ${cfd}/pdfs folder, and when the webhelp transformation starts, it picks up the PDFs from the same path and places them in the output.
However, when the PDF generates, it deletes everything from the ${cfd}/pdfs folder. I have an extra splash.jpg image that's placed in the same ${cfd}/pdfs folder and needs to be copied to the webhelp output folder, but gets gets deleted. So, was wondering if we could specify two webhelp.custom.resources paths. I tried ${cfd}/pdfs;${cfd}/splash but this didn't work.
I also tried adding this in my template.opt file as a file path under resources. For example, <include name="splash.jpg"/>. And while this works, it places the splash.jpg file in the webhelp-responsive/oxygen-webhelp/template folder along with the CSS files. I need it to be directly under webhelp-responsive folder.
Could I get either of these methods to work? Thanks!
-Ken
I'm trying out the following scenario for generating the webhelp output along with PDFs:
For the PDF transformation, I've set the output folder to ${cfd}/pdfs. And for the webhelp trasnformation, I've set the same folder as the webhelp.custom.resources parameter. And this works fine when I select the corresponding ditamap files in the Project tab and choose Transform > Apply Transformation Scenarios. The PDF generates first and gets stored in the ${cfd}/pdfs folder, and when the webhelp transformation starts, it picks up the PDFs from the same path and places them in the output.
However, when the PDF generates, it deletes everything from the ${cfd}/pdfs folder. I have an extra splash.jpg image that's placed in the same ${cfd}/pdfs folder and needs to be copied to the webhelp output folder, but gets gets deleted. So, was wondering if we could specify two webhelp.custom.resources paths. I tried ${cfd}/pdfs;${cfd}/splash but this didn't work.
I also tried adding this in my template.opt file as a file path under resources. For example, <include name="splash.jpg"/>. And while this works, it places the splash.jpg file in the webhelp-responsive/oxygen-webhelp/template folder along with the CSS files. I need it to be directly under webhelp-responsive folder.
Could I get either of these methods to work? Thanks!
-Ken