DITA CMS Based Transformation Pre-Processing Step Question
Posted: Thu Mar 14, 2013 7:17 pm
In our work environment, we have three ways that we transform a DITA document to PDF/HTML: via a command line and the DITA-OT, via a CCMS (Alfresco with Componize), and via Oxygen.
In all three scenarios we have highly customized the included DITA-OT to our rendering needs. One of these customizations is to pre-process all of the files (ditamap and DITA files) before they get to the filtering (dost.jar) stage.
To do this, in the build_preprocess.xml file, I have inserted a new stage between "start-preprocess" and "gen-list-with-flagging" stages.
Now this works perfectly in the command line DITA-OT and CCMS scenarios. This also works fine in the Oxygen transformation scenario when the ditamap and files are all local on a users computer.
But when a transformation through Oxygen is attempted on a ditamap that resides, we have some issues due to the timing of Oxygen FTP'ing the files over. (Before I go on, I should point out that we have set up User Defined transformation scenarios that allow us to transform ditamaps from the CCMS).
I have found that before the "gen-list-with-flagging" stage, only the ditamap is FTP'ed over into the temp directory. It is not until the "gen-list-with-flagging" that the rest of the files used in the document are brought over.
So after all of that setup, now comes my question
Is there a way I can force Oxygen to FTP all of the files used over into the temp directory before I reach the "gen-list-with-flagging" stage?
The way I have things set up now, I modify the temp copies of the ditamap and files, then point the "
"gen-list-with-flagging" to the location of those modified files.
Thanks!
-James
In all three scenarios we have highly customized the included DITA-OT to our rendering needs. One of these customizations is to pre-process all of the files (ditamap and DITA files) before they get to the filtering (dost.jar) stage.
To do this, in the build_preprocess.xml file, I have inserted a new stage between "start-preprocess" and "gen-list-with-flagging" stages.
Now this works perfectly in the command line DITA-OT and CCMS scenarios. This also works fine in the Oxygen transformation scenario when the ditamap and files are all local on a users computer.
But when a transformation through Oxygen is attempted on a ditamap that resides, we have some issues due to the timing of Oxygen FTP'ing the files over. (Before I go on, I should point out that we have set up User Defined transformation scenarios that allow us to transform ditamaps from the CCMS).
I have found that before the "gen-list-with-flagging" stage, only the ditamap is FTP'ed over into the temp directory. It is not until the "gen-list-with-flagging" that the rest of the files used in the document are brought over.
So after all of that setup, now comes my question

Is there a way I can force Oxygen to FTP all of the files used over into the temp directory before I reach the "gen-list-with-flagging" stage?
The way I have things set up now, I modify the temp copies of the ditamap and files, then point the "
"gen-list-with-flagging" to the location of those modified files.
Thanks!
-James