Can you please raise an issue in Jira http://opensource.atlassian.com/projects/xdoclet/
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > John Lewis > Sent: Thursday, April 08, 2004 12:35 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] Re: Ever heard of XDtCollection? (was > hibernatedoclet - tag handler for XDtCollection) > > > > I had the same problem. I tracked it down to missing a jar on the > classpath. To run the xdoclet-hibernate ant task, you need > at a minimum: > > xdoclet-1.2.jar > xdoclet-hibernate-module-1.2.jar > xdoclet-xdoclet-module-1.2.jar > xjavadoc-1.0.2.jar > commons-collections-2.1.jar > commons-logging-1.0.3.jar > > John > > Benjamin Cox wrote: > > > From: Benjamin Cox <[EMAIL PROTECTED]> > > Ever heard of XDtCollection? (was hibernatedoclet - tag handler for > > XDtCollection) 2004-01-15 10:47 > > > > My hibernatedoclet task is still failing miserably. The > error message > > is the same: Could not find tag handler for prefix: > 'XDtCollection'. > > Hasn't anybody heard of this class? > > > > I though it was fixed (and that it was a missing ant property), but > > this was a red herring. There is still a problem, but the > Ant build > > will complete if I have already partially generated the hibernate > > files. It appears as though the first run, though it > fails, generates > > enough of the hbm.xml files to make the second run think it doesn't > > have any work to do. > > > > My first-run generated hbm.xml file only contains > hibernate-mapping, > > class, and id elements. It never closes the class or > > hibernate-mapping tags, because it fails after generating > the id element. > > > > If anyone has any idea where to look - or what else I can > try, please > > do pipe up! > > > > Thanks, > > > > Ben > > > > Benjamin Cox wrote: > > > > > Much to my surprise, it turns out a property wasn't set > correctly! > > It > seems like an odd error for such a case, but that's what I get > > for not > running ant in debug mode sooner :-) > > > > > > Thanks for the response... we'll see if I get a little > further now. > > > > > > Ben > > > > > > Mark Lowe wrote: > > > > > >> I have the same development environment as you but never > had to >> > > generate hibernate resources on BSD. Perhaps you've tried > this , but > > >> what happens of you use the xdoclet jars you've running osx? > > >> > > >> > > >> On 15 Jan 2004, at 04:13, Benjamin Cox wrote: > > >> > > >>> Hello, > > >>> > > >>> When I run the hibernatedoclet task, I'm getting a > strange error > > about: > > >>> xdoclet.template.TemplateException: Could not find tag handler > > for >>> prefix: 'XDtCollection'. > > >>> Currently, I'm using ant 1.5.3, xdoclet 1.2, and jdk > 1.4.1_01 on > > OS >>> X (Panther). This error also occurred on a FreeBSD 4.9 box > > with >>> jdk 1.4.2, ant 1.5.3, and xdoclet 1.2b4. > > >>> > > >>> Has anyone seen and/or worked around this issue before? > > >>> > > >>> Thanks, > > >>> > > >>> Ben > > >>> > > >>> > > >>> [hibernatedoclet] (XDocletMain.start > 47 ) >>> > > Running <hibernate/> > > >>> [hibernatedoclet] Generating mapping file for >>> > > com.threedmt.cocacola.plan.Scenario. > > >>> [hibernatedoclet] com.threedmt.cocacola.plan.Scenario > > >>> [hibernatedoclet] (TemplateEngine.getTagHandlerFor > 206 ) Could > > >>> not find tag handler for prefix: 'XDtCollection' > > >>> [hibernatedoclet] (TemplateEngine.invokeMethod 519 ) > > Error >>> occured at/around line 139, offending template tag: >>> > > XDtCollection:create > > >>> [hibernatedoclet] xdoclet.template.TemplateException: Could not > > >>> find tag handler for prefix: 'XDtCollection' > > >>> [hibernatedoclet] at >>> > > > xdoclet.template.TemplateEngine.getTagHandlerFor(TemplateEngine.java: > > >>> 207) > > >>> [hibernatedoclet] at >>> > > > xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:516) > > >>> [hibernatedoclet] at >>> > > > xdoclet.template.TemplateEngine.invokeContentMethod(TemplateEn > gine.java > > >>> :614) > > >>> [hibernatedoclet] at >>> > > xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:469) > > >>> [hibernatedoclet] at >>> > > xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347) > > >>> [hibernatedoclet] at >>> > > xdoclet.template.TemplateEngine.start(TemplateEngine.java:414) > > >>> [hibernatedoclet] at >>> > > xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:560) > > >>> [hibernatedoclet] at >>> > > xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:767) > > >>> [hibernatedoclet] at >>> > > > xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667) > > >>> [hibernatedoclet] at >>> > > xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594) > > >>> [hibernatedoclet] at >>> > > xdoclet.XmlSubTask.startProcess(XmlSubTask.java:198) > > >>> [hibernatedoclet] at >>> > > > xdoclet.modules.hibernate.HibernateSubTask.execute(HibernateSu > bTask.jav > > >>> a:123) > > >>> [hibernatedoclet] at > > xdoclet.XDocletMain.start(XDocletMain.java:48) > > >>> [hibernatedoclet] at > > xdoclet.DocletTask.start(DocletTask.java:462) > > >>> [hibernatedoclet] at >>> > > xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110) > > >>> [hibernatedoclet] at >>> > > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) > > >>> [hibernatedoclet] at >>> > > org.apache.tools.ant.Task.perform(Task.java:341) > > >>> [hibernatedoclet] at >>> > > org.apache.tools.ant.Target.execute(Target.java:309) > > >>> [hibernatedoclet] at >>> > > org.apache.tools.ant.Target.performTasks(Target.java:336) > > >>> [hibernatedoclet] at >>> > > org.apache.tools.ant.Project.executeTarget(Project.java:1339) > > >>> [hibernatedoclet] at >>> > > org.apache.tools.ant.Project.executeTargets(Project.java:1255) > > >>> [hibernatedoclet] at >>> > > org.apache.tools.ant.Main.runBuild(Main.java:609) > > >>> [hibernatedoclet] at > > org.apache.tools.ant.Main.start(Main.java:196) > > >>> [hibernatedoclet] at > > org.apache.tools.ant.Main.main(Main.java:235) > > >>> > > >>> > > >>> > > >>> ------------------------------------------------------- > > >>> This SF.net email is sponsored by: Perforce Software. > > >>> Perforce is the Fast Software Configuration Management System > > offering > > >>> advanced branching capabilities and atomic changes on > 50+ platforms. > > >>> Free Eval! http://www.perforce.com/perforce/loadprog.html > > >>> _______________________________________________ > > >>> xdoclet-user mailing list > > >>> [EMAIL PROTECTED] > > >>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > >>> > > >> > > >> > > >> > > >> ------------------------------------------------------- > > >> This SF.net email is sponsored by: Perforce Software. > > >> Perforce is the Fast Software Configuration Management > System offering > > >> advanced branching capabilities and atomic changes on > 50+ platforms. > > >> Free Eval! http://www.perforce.com/perforce/loadprog.html > > >> _______________________________________________ > > >> xdoclet-user mailing list > > >> [EMAIL PROTECTED] > > >> https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > The SF.Net email is sponsored by EclipseCon 2004 > > > Premiere Conference on Open Tools Development and Integration > > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > > http://www.eclipsecon.org/osdn > > > _______________________________________________ > > > xdoclet-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
