Page 1 of 1

Define standard parameter for transformation scenarios

Posted: Wed Nov 04, 2015 7:29 pm
by chrizzbee
Hi

Is it possible (in oXygen 17/Eclipse) to set fix.external.ref.com.oxygenxml = true and generate.copy.outer = 3 as a default for all transformation scenarios? This means, even when I create a new one, that these two parameters are already set correctly?

Thanks.

Re: Define standard parameter for transformation scenarios

Posted: Fri Nov 06, 2015 10:41 am
by Radu
Hi,

Sorry but we do not have such a setting. Maybe a possibility would be to create default transformation scenarios at document type/framework level having these parameters already set to the proper values. And all team members would use those read-only scenarios instead of creating new ones.

More about document type/extension sharing:

http://blog.oxygenxml.com/2015/08/docum ... aring.html

Regards,
Radu

Re: Define standard parameter for transformation scenarios

Posted: Fri Nov 06, 2015 2:29 pm
by Radu
Hi,

Maybe one more possibility would be to define your custom ANT build file which sets certain parameters and then calls the DITA OT main build.xml:
https://www.oxygenxml.com/doc/versions/ ... -file.html

Regards,
Radu

Re: Define standard parameter for transformation scenarios

Posted: Mon Nov 09, 2015 4:45 pm
by chrizzbee
hi radu

thanks for sharing your ideas. your first solution came to my mind too. we probably go with this. maybe you could think of an enhancement here? define these standard settings in an XML ...?

bye bye and thanks again.
chris.

Re: Define standard parameter for transformation scenarios

Posted: Tue Nov 10, 2015 12:51 am
by Radu
Hi Chris,

A framework configuration file (like the original OXYGEN_INSTALLI_DIR\frameworks\dita\dita.framework) is an XML file which has all the read-only predefined transformation scenarios serialized in it. But I do not have a good idea about how to keep separate XML files with the changed parameters.

Regards,
Radu