dita.temp.dir not working in integrator.xml

Post here questions and problems related to editing and publishing DITA content.
chrizzbee
Posts: 37
Joined: Wed May 13, 2015 11:02 am

dita.temp.dir not working in integrator.xml

Post by chrizzbee »

Hi

I am trying to set dita.temp.dir in integrator.xml of my PDF plugin. When setting it in oXygen it has the desired effect, but not in integrator.xml. I set it like this:

Code: Select all

<property name="dita.temp.dir" value="c:/temp" />
Is there something to consider?

Thanks
Chris.
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

Re: dita.temp.dir not working in integrator.xml

Post by Radu »

Hi Chris,

Problem is that Oxygen also sends the temporary directory setting to the DITA Open Toolkit when running the publishing.
And with ANT build files once a value for a parameter is sent from outside in the command line, it will override the value specified in the build files.
So what you are doing in the ANT build file might work when you publish from a custom command line using the DITA OT (as you can control there not to set the temp dir parameter as a parameter to the command line) but it will not work when running the publishing from Oxygen.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrizzbee
Posts: 37
Joined: Wed May 13, 2015 11:02 am

Re: dita.temp.dir not working in integrator.xml

Post by chrizzbee »

Thanks for clarification Radu. I'll use the project settings in this case to store the path.
Post Reply