Page 1 of 1

Property file in pdf transformation scenario

Posted: Tue Jun 04, 2024 2:54 pm
by jdonges
Hi,

I have a PDF2 transformation with a property file, in the DITA OT call there is a parameter

Code: Select all

\bin\dita.bat ... --propertyfile=<name>
When I set up a transformation scenario in Oxygen and add this to the parameter section, it generates a dita call with

Code: Select all

-Dpropertyfile=<name>
It puts a D in front of it so the file is not used.
I think the D prefix is the syntax for setting single ant properties in the dita call.
Is there a way to use the property values from a file instead?

Best regards,
Jörn

Re: Property file in pdf transformation scenario

Posted: Wed Jun 05, 2024 2:07 pm
by julien_lacour
Hi Jörn,

In order to use a properties file in Oxygen you need to prefix it with '--':
image.png
You will see that the parameter is correctly set in the console:

Code: Select all

--propertyfile "C:\path\to\pdf2.properties"
Regards,
Julien

Re: Property file in pdf transformation scenario

Posted: Wed Jun 05, 2024 2:48 pm
by jdonges
Hi Julien,
ah okay that was easy
thank you :D
Regards
Jörn