cfg.addFile(new File(getOutputDir(), getBaseForMappings() + "Alien.hbm.xml"));
cfg.addFile(new File(getOutputDir(), getBaseForMappings() + "Human.hbm.xml"));
cfg.addFile(new File(getOutputDir(), getBaseForMappings() + "Animal.hbm.xml"));
cfg.buildMappings();
}
public void testComment() {
File outputXml = new File(getOutputDir().getAbsolutePath() + "/org/hibernate/tool/hbm2x/hbm2hbmxml/Alien.hbm.xml");
assertFileAndExists(outputXml);