Home › Forums › DITA and XMetaL Discussion › How to prevent DITA-OT copy to user directory? › Reply To: How to prevent DITA-OT copy to user directory?
Reply to: How to prevent DITA-OT copy to user directory?
June 3, 2009 at 1:21 pmSorry to resurrect such an old thread, but we finally addressed this problem and I wanted to post the solution in case it might help someone else.
If you want to use your own version of the DITA-OT, and don't want it copied into the Application Data folder, you need to comment out line 2466 of DITAXACssharedDitaRenditions.js:
[code]dita_ot_dir = this.CheckForDitaUpdate(dita_ot_dir);[/code]
We had been letting XMetaL copy our toolkit, and just updating the version number in dita_print.txt, as Derek suggested above. But it recently stopped working, and would prompt to copy the OT on every transform. Since we are still in active development and change our DITA-OT plugins frequently, we decided to bite the bullet, modify core, and shut the feature off.