Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.7
-
None
Description
Individual plugin build files currently reuse some targets in the main plugins build file, but there is still much duplication across plugins.
Each plugin only needs to start with a build file of:
<project default="docs" basedir="." name="Forrest plugin build file">
<property name="plugin-name" value="rtf-output"/>
<import file="../targets/pluginBuild.xml">
</project>
The ../targets/pluginBuild.xml file can contain the default targets, This still allows each individual plugin to overload a target if it needs to.
Each plugin only needs to start with a build file of:
<project default="docs" basedir="." name="Forrest plugin build file">
<property name="plugin-name" value="rtf-output"/>
<import file="../targets/pluginBuild.xml">
</project>
The ../targets/pluginBuild.xml file can contain the default targets, This still allows each individual plugin to overload a target if it needs to.