I missed the following: <component classname="org.generama.VelocityTemplateEngine"/> <component classname="org.generama.JellyTemplateEngine"/>
Personally, I find the new task exremely difficult to use, and troubling that I would have to know that i need to include velocity and jelly to use the hibernate module. That should all be transparent, as I could personally care less what templating engine is needed to run. I just know that i want to run hibernate. Shouldn't the hibernate plugin automatically add/register the other components? Better yet, why is there not a <hibernate-doclet> task, which could extend <xdoclet> task, and automatically add the appropriate components on it's own? I'd be willing to write this task (it shouldn't be difficult, but the only thing is I'm not sure what all the parameters to the Hibernate component are, so the task might end up being somewhat incomplete): <hibernate-doclet destdir="abc"> <fileset ... /> </hibernate-doclet> would end up being the equivalent of: <xdoclet> <fileset ... /> <component classname="org.generama.VelocityTemplateEngine"/> <component classname="org.generama.JellyTemplateEngine"/> <component classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin" destdir="mappings2"/> </xdoclet> Each attribute on "hibernate-doclet" would translate to an attribute on the component. I just don't know what the right attributes are. Any input? -----Original Message----- From: Konstantin Priblouda [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 9:08 AM To: [EMAIL PROTECTED] Subject: RE: FW: [Xdoclet-user] JSP 2.0 Support? OK, I see that you build from IDEA, what's your build descriptor? did you tried maven / standalone ant build? regards, --- "Inger, Matthew" <[EMAIL PROTECTED]> wrote: > > E:\hibernate-test\build.xml:30: > org.picocontainer.defaults.UnsatisfiableDependenciesException: > org.xdoclet.plugin.hibernate.HibernateMappingPlugin > doesn't have any > satisfiable constructors. Unsatisfiable > dependencies: [[class > org.generama.JellyTemplateEngine, class > org.xdoclet.QDoxMetadataProvider, > interface org.generama.WriterMapper]] > at > org.nanocontainer.ant.PicoContainerTask.execute(PicoContainerTask.java:104) > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) > at org.apache.tools.ant.Task.perform(Task.java:341) > at > org.apache.tools.ant.Target.execute(Target.java:309) > at > org.apache.tools.ant.Target.performTasks(Target.java:336) > at > org.apache.tools.ant.Project.executeTarget(Project.java:1339) > at > org.apache.tools.ant.Project.executeTargets(Project.java:1255) > at > org.apache.tools.ant.Main.runBuild(Main.java:609) > at org.apache.tools.ant.Main.start(Main.java:196) > at org.apache.tools.ant.Main.main(Main.java:235) > at > com.intellij.rt.ant.execution.AntMain2.main(Unknown > Source) > Caused by: > org.picocontainer.defaults.UnsatisfiableDependenciesException: > org.xdoclet.plugin.hibernate.HibernateMappingPlugin > doesn't have any > satisfiable constructors. Unsatisfiable > dependencies: [[class > org.generama.JellyTemplateEngine, class > org.xdoclet.QDoxMetadataProvider, > interface org.generama.WriterMapper]] > at > org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediest > SatisifableConstructor(ConstructorInjectionComponentAdapter.java:138) > at > org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateC > omponent(ConstructorInjectionComponentAdapter.java:193) > at > org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstanc > e(InstantiatingComponentAdapter.java:48) > at > org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(D > ecoratingComponentAdapter.java:42) > at > org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(Cach > ingComponentAdapter.java:37) > at > org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(D > ecoratingComponentAdapter.java:42) > at > org.picocontainer.defaults.BeanPropertyComponentAdapter.getComponentInstance > (BeanPropertyComponentAdapter.java:59) > at > org.picocontainer.defaults.DefaultPicoContainer.getComponentInstancesOfType( > DefaultPicoContainer.java:274) > at > org.picocontainer.defaults.DefaultPicoContainer.getComponentInstancesOfTypeW > ithContainerAdaptersLast(DefaultPicoContainer.java:377) > at > org.picocontainer.defaults.DefaultPicoContainer.start(DefaultPicoContainer.j > ava:347) > at > org.nanocontainer.integrationkit.LifecycleContainerBuilder.buildContainer(Li > fecycleContainerBuilder.java:41) > at > org.nanocontainer.ant.PicoContainerTask.execute(PicoContainerTask.java:95) > > -----Original Message----- > From: Konstantin Priblouda > [mailto:[EMAIL PROTECTED] > Sent: Friday, July 16, 2004 7:28 AM > To: [EMAIL PROTECTED] > Subject: RE: FW: [Xdoclet-user] JSP 2.0 Support? > > > --- "Inger, Matthew" <[EMAIL PROTECTED]> wrote: > > I would try, but as i've said, I can't get the > > hibernate plugin > > to even run, regardless of what the input is. > > I thought you managed this? > > > What was your error? Can you remind me? > > > Here is my maven-xml snippet: > ---%<----------- > > <goal name="xdoclet"> > <path id="xdoclet.task.classpath"> > <path > refid="maven.dependency.classpath"/> > </path> > > <taskdef > name="xdoclet" > > classname="org.xdoclet.ant.XDocletTask" > > classpathref="xdoclet.task.classpath" > /> > <xdoclet> > <fileset > dir="${pom.build.sourceDirectory}"> > <include name="**/*.java"/> > </fileset> > <component > classname="org.generama.VelocityTemplateEngine"/> > <component > classname="org.generama.JellyTemplateEngine"/> > > <component > > classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin" > > destdir="${basedir}/target/xdoclet/hibernatedoclet" > /> > </xdoclet> > > </goal> > > ---%<----------- > 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!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic > Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 > today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic > Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 > today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ===== ----[ 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!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user