Page 1 of 1

WebHelp Responsive plugin

Posted: Mon Jan 16, 2017 2:59 pm
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.

Re: WebHelp Responsive plugin

Posted: Mon Jan 16, 2017 5:09 pm
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