Is there a switch or setting that will enable the creation of a single hibernate.hbm.xml file, whether first or through merging hbm.xml files?
----- Original Message ----- From: "Konstantin Priblouda" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 23, 2003 4:35 AM Subject: Re: [Xdoclet-user] Generating hibernate mapping files > > --- Mark Lowe <[EMAIL PROTECTED]> wrote: > > Hi Andrew > > > > On 23 Nov 2003, at 00:32, Andrew Stevens wrote: > > > > > On Sat, 2003-11-22 at 13:29, Mark Lowe wrote: > > >> I'm having trouble generating the xml mapping > > files for hibernate. The > > >> task fires up the my classes compile but just > > cant generate the > > >> resources from my tags. > > > ... > > >> <fileset dir="${hibernate.module.src}"> > > >> <include name="**/*.java"/> > > >> </fileset> > > > > > > Checking the obvious, > > > 1) you did use javadoc comments not ordinary ones, > > didn't you? i.e. > > > "/**" not just "/*" > > > > Yes the xdoclet tags are in the following format > > > > /** > > * @hibernate.class table="foo" > > */ > > > > > > > 2) ${hibernate.module.src} is the root of your > > package hierarchy, yes? > > > i.e. if you have com.foo.bar.SomeClass, > > ${hibernate.module.src} > > > contains > > > the "com" directory > > > > This looked promising. > > > > ${hibernate.module.src} was just set to my source > > directory. > > > > src/HibernateModule > > > > so I tried what you seemed to be suggesting and made > > my source > > directory structure mirror the package > > > > package com.foo.bar; > > > > .. > > > > so.. > > > > ${hibernate.module.src} is set to > > src/HibernateModule/com/foo/bar > > > > But the same problem.. > > set it to src/HibernateModule and watch it work :) > > regards, > > ===== > ----[ Konstantin Pribluda ( ko5tik ) ]---------------- > Zu Verstärkung meines Teams suche ich ab Sofort einen > Softwareentwickler[In] für die Festanstellung. > Arbeitsort: Mainz > Skills: Programieren, Kentnisse in OpenSource-Bereich > ----[ http://www.pribluda.de ]------------------------ > > __________________________________ > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > http://companion.yahoo.com/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user