I am try to extend hibernatetools and generate my customExporter. But the problem that I am having is that I can't extend org.hibernate.tool.ant.ExporterTask class in a direfent package because it has:
abstract String getName();
protected abstract String getName();
So, when I try to make my CustomExporterTask extending from ExporterTask, the compiler said:
"The method CustomExporterTask.getName() does not override the inherited method from ExporterTask since it is private to a different package".
So, my sugestion is to add the "protected" modifier.