To specify the package of generated java beans in hbm2java ant task, add jdbcconfiguration tag property “packagename” like following :

<jdbcconfiguration revengfile="reveng.xml" packagename="net.witr.hbm2java" configurationfile="hibernate.cfg.xml"></jdbcconfiguration>