Avoid deleting temp folder and debugging
Posted: Wed Jul 14, 2010 3:30 pm
Hi!
I want to debug dita ot for pdf rendering, and found this post: http://www.oxygenxml.com/forum/topic3560.html
However, the temp folder mentioned in this post is deleted everytime I render a ditamap. I know a way to fix it by giving myself change privileges on the dita ot folder and then modifying the build file by commenting out the clean-temp directive. But I feel there should be another way to do this, since it is mentioned in the above post as something that should be there by default... Is there something wrong with my configuration, and if so is there a way to modify this from within Oxygen?
Also, the post suggests that you should debug by selecting the topic2fo_shell.xsl, which in a way makes sense, but I don't know how that is going to work with the custom xsl's, since those are referenced in the topic2fo_shell using the special paths with cfg:fo in the beginning? (<xsl:import href="cfg:fo/xsl/custom.xsl"></xsl:import>). Do you have to change these to regular absolute or relative paths before the debugging, and then change it back after to be able to use the catalog for choosing custom stylesheets?
Regards,
Anders
I want to debug dita ot for pdf rendering, and found this post: http://www.oxygenxml.com/forum/topic3560.html
However, the temp folder mentioned in this post is deleted everytime I render a ditamap. I know a way to fix it by giving myself change privileges on the dita ot folder and then modifying the build file by commenting out the clean-temp directive. But I feel there should be another way to do this, since it is mentioned in the above post as something that should be there by default... Is there something wrong with my configuration, and if so is there a way to modify this from within Oxygen?
Also, the post suggests that you should debug by selecting the topic2fo_shell.xsl, which in a way makes sense, but I don't know how that is going to work with the custom xsl's, since those are referenced in the topic2fo_shell using the special paths with cfg:fo in the beginning? (<xsl:import href="cfg:fo/xsl/custom.xsl"></xsl:import>). Do you have to change these to regular absolute or relative paths before the debugging, and then change it back after to be able to use the catalog for choosing custom stylesheets?
Regards,
Anders