I'm trying to piece together the info I've found regarding building plugins. I found a mention of implementing AntTaskExtension to customize ant builds but there is little more information than that. So I implemented the interface and wrote the following build-agent-plugin.xml (like the one in this thread - http://www.intellij.net/forums/thread.jspa?messageID=5213711). Then I jarred and zipped it up with the consistent to the other plugin zips that I looked at.
I pushed it to my server's update/plugins directory and it was propogated to agents and unzipped. But there is no sign that it had any affect (I added a bunch of printlns and logger.warning() calls).
So I have a bunch of questions about this which I haven't found answers for.
- Is this a container / component XML proper for an Ant extension?
- Does the XML need to also include info about the base Ant plugin?
- Should the extension be packed as a standalone jar/zip or does it need to be packed into the antPlugin.zip?
- Will any extensions be applied to all ant builds or should a different server plugin be added to trigger the agent to use the customized version?