Hoople

Extensions

Extensions allow you to extend Hoople functionality to add whatever custom URL Logic you require, while still conforming to the public DTD.

Using Extensions in Ant:

  • Add an “extension” tag to your ant task. Specify the extensionClass attribute. That class must extend net.sundog.hoople.ExtensionParser. You can add extensionParams to the extension tag in your ant task if desired.
  • Add an “extension” tag in your Hoople files. Specify the same extensionClass as you specified in your build file. You can add the same or different extensionParams to this tag if desired as well.

See examples/javadoc in the distribution for more information.