Can anyone advise how I can configure XDoclet within MyEclipse to generate the hibernate descriptors to a particular directory without the packaging structrure. I know how to point XDoclet to the alternative target directory other than src but it generates mapping files according to domain objects package structure, e.g. if you have a class com.company.test.Foo the XDoclet will generate directory structure in the destination – com/company/test and will place Foo.xbm.xml there. We would like them to reside flat in the dest. directory, without packages. Please advise.