Add extension-points to spoofaximp.default.* targets for preprocessing steps
Add an extension point target on which the spoofaximp.default.(ctree|jar) may depend. This is as easy as adding a line such as:
<extension-point name="ready-to-compile"/>
to the
build.generated.xml
file and the targetready-to-compile
as a dependency of the above-mentioned targets.The user can then define a target with the attribute
extensionOf="ready-to-compile"
for custom preprocessing tasks that are guaranteed to be run before building the project.The alternative is to rewrite the
Submitted by Augusto on 18 September 2014 at 16:50all
target to be a sequence of<antcall>
s, since ANT does not guarantee ordering is maintained if you simply add unrelated dependencies to the same target. I believe this extension point alternative is a little cleaner.
Log in to post comments