dita.temp.dir not working in integrator.xml

chrizzbee
Posts: 37

dita.temp.dir not working in integrator.xml

Mon May 08, 2017 10:54 am

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: 5376

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

Mon May 08, 2017 4:23 pm

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

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

Mon May 08, 2017 4:26 pm

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

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 0 guests