Test and production system for the publishing engine

Post here questions and problems related to editing and publishing DITA content.
susannecm
Posts: 109
Joined: Wed Mar 17, 2010 1:04 pm

Test and production system for the publishing engine

Post by susannecm »

Hi everyone,
we would like to use the publishing engine to create content for a test and a production system. We have a custom application that calls the engine and routes the generated output to the respective target system, depending on the user account that called our application.
Currently, we can either write to test or to production because of conflicts with the /tmp/chemistry-temp directory, which can only be used by the account that created it in the first place. We would need to delete this directory when we change this account. Is there a way to configure two tmp directories?
Thank you for your help
Susanne
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: Test and production system for the publishing engine

Post by julien_lacour »

Hello,

You can customize the folder in which the chemistry-temp directory is created, you just need to set the -Dchemistry.security.workspace="path/to/workspace" parameter in the command calling the publishing engine. The result in my example will be path/to/workspace/chemistry-temp.

This parameter is also available from Oxygen.

Regards,
Julien
susannecm
Posts: 109
Joined: Wed Mar 17, 2010 1:04 pm

Re: Test and production system for the publishing engine

Post by susannecm »

Thank you!
Post Reply