standalone DITA transformation
Posted: Thu Mar 22, 2018 1:31 pm
Hi All,
Maybe this is the wrong place to ask this question, but I am stuck in my project.
Within Oxygen (19.0) I have created a project for pdf transformation with DITA-OT with a customized plugin. The project includes branch filtering.
All works fine in Oxygen; I get a filtered PDF in the layout created with the customized plugin.
But now I need the project to run standalone, to run via a call from the command line.
When I now run it, a PDF is created (and filtered) but it is PDF2 layout. My customized plugin is ignored.
The logfile does not bring me any further, there are at least no error messages.
Does anyone have an idea on what can be wrong?
Following iswhat I have done:
My customized plugin is integrated in DITA-OT3.0.2 and depends on PDF2. And it originally comes from DITA-OT2.1
I have installed following:
DITA-OT3.0.2 and integrated my customized plugin (which depend on PDF2 plugin)
Ant
Java
saxon9HE
environment variables are set for:
ANT_HOME
JAVA_HOME
DITA_HOME
path to saxon, ant, dita-ot
disabled the call for env.bat because of error messages, something to do with an error message about 'too long lines'.
I use 'startcmd.bat' to run the toolkit with following command:
bin\dita -f "pdf-ALPHADEUREN_A4" -i "..\ALPHADEUREN\map.ditamap" -o "..\output" -l "..\output\dita-ot.log" -v
Best regards,
Anneke Von den Hoff
Maybe this is the wrong place to ask this question, but I am stuck in my project.
Within Oxygen (19.0) I have created a project for pdf transformation with DITA-OT with a customized plugin. The project includes branch filtering.
All works fine in Oxygen; I get a filtered PDF in the layout created with the customized plugin.
But now I need the project to run standalone, to run via a call from the command line.
When I now run it, a PDF is created (and filtered) but it is PDF2 layout. My customized plugin is ignored.
The logfile does not bring me any further, there are at least no error messages.
Does anyone have an idea on what can be wrong?
Following iswhat I have done:
My customized plugin is integrated in DITA-OT3.0.2 and depends on PDF2. And it originally comes from DITA-OT2.1
I have installed following:
DITA-OT3.0.2 and integrated my customized plugin (which depend on PDF2 plugin)
Ant
Java
saxon9HE
environment variables are set for:
ANT_HOME
JAVA_HOME
DITA_HOME
path to saxon, ant, dita-ot
disabled the call for env.bat because of error messages, something to do with an error message about 'too long lines'.
I use 'startcmd.bat' to run the toolkit with following command:
bin\dita -f "pdf-ALPHADEUREN_A4" -i "..\ALPHADEUREN\map.ditamap" -o "..\output" -l "..\output\dita-ot.log" -v
Best regards,
Anneke Von den Hoff