Property file in pdf transformation scenario

Post here questions and problems related to editing and publishing DITA content.
jdonges
Posts: 15
Joined: Mon Dec 16, 2019 3:01 pm

Property file in pdf transformation scenario

Post 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
julien_lacour
Posts: 665
Joined: Wed Oct 16, 2019 3:47 pm

Re: Property file in pdf transformation scenario

Post 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
You do not have the required permissions to view the files attached to this post.
jdonges
Posts: 15
Joined: Mon Dec 16, 2019 3:01 pm

Re: Property file in pdf transformation scenario

Post by jdonges »

Hi Julien,
ah okay that was easy
thank you :D
Regards
Jörn
Post Reply