Page 1 of 1

dita.temp.dir not working in integrator.xml

Posted: Mon May 08, 2017 10:54 am
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.

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

Posted: Mon May 08, 2017 4:23 pm
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

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

Posted: Mon May 08, 2017 4:26 pm
by chrizzbee
Thanks for clarification Radu. I'll use the project settings in this case to store the path.