Skip to content

How can I avoid reinstalling DITA-OT plugins when XSLT files in the plugin are changed? #4203

Answered by chrispy-snps
chrispy-snps asked this question in Q&A
Discussion options

You must be logged in to vote

When you run the dita install command, the DITA-OT rebuilds some internal information based on the <feature> file references. When <feature> file references are added, removed, or changed—even for a plugin that is already installed—then plugins must be reinstalled.

For many types of extension points (such as for strings and messages), plugin reinstallation is needed if the contents of a <feature>-referenced file change. However, this is not true for XSLT files, because their contents are imported via <xsl:import> instead of copied. As a result, plugin reinstallation is needed only if the XSLT file names are added/removed/changed, but not if their contents are changed.

Thus, you can restru…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chrispy-snps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant