<j:jelly xmlns:j="jelly:core"
xmlns:f="/lib/form">
<f:section title="GStats">
<f:entry title="Ant script" field="antScript">
<f:textbox name="antScript"/>
</f:entry>
</f:section>
</j:jelly>
The automagically hooks up to the descriptor's configure method. The doCheckAntScript method is automatically hooked up to the textbox, and is called by Javascript to validate the entry as you type. If you don't provide this things, that's fine, but if you do, super.
This is normally where I start. I shim up a do nothing Publisher and Descriptor. Next I hook up any global configuration, adding the global.jelly and hooking up the configure method. Then I get the Publisher running, generally by splatting stuff to the listener. Once it's all going, only then do I start to add the Build action and the Project action.
build action holds some little data structure
project action looks for the build action and prints a summary