WebHelp Responsive plugin

Post here questions and problems related to editing and publishing DITA content.
leensmits
Posts: 8
Joined: Mon Jan 16, 2017 1:18 pm

WebHelp Responsive plugin

Post by leensmits »

Hi,

Usually you have the following structure in DITA OT plugins:

Code: Select all

build.xml
build_template.xml
plugins
com.company.plugin
plugin.xml
integrator.xml
build_plugin.xml
target dita2[i]transtype[/i]
In the current webhelp plugin you have property/taskdef elements on the project level.
Wouldn't it be better to move these inside an initialization target?

initialization targets are also sometimes annoying:
- they have to be before the build-init, or certain properties are ignored.

but the benefits are:
- if the webhelp init target is not executed, they do not influence by mistake any other target/plugin
- if you want to change the sequence or to override settings, you simply create your own init target which you run before the standard/default init target. Once a property is set, it cannot be altered.

So my main concern is isolation of the plugin items from the rest of the plugins.
alin
Site Admin
Posts: 275
Joined: Thu Dec 24, 2009 11:21 am

Re: WebHelp Responsive plugin

Post by alin »

Hello,

Thank you for your feedback. Indeed, it would be better to declare properties and taskdefs in an initialization target. We will take into account your suggestions and we will try to improve our product.

Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply