* @return a new TagScript for any custom, statically defined tags, like 'fileScanner'
*/
public TagScript createCustomTagScript(final String name, Attributes attributes) throws Exception {
// custom Ant tags
if ( name.equals("fileScanner") ) {
return new BeanTagScript(
new TagFactory() {
public Tag createTag() throws Exception {
return new FileScannerTag(new FileScanner());
}
}