After trying to use XDoclet2, I've come to the conclusion that it's broken. Building of the entire module suite does not work. So, to try out what i wanted, I built just the hibernate module. That worked, but at runtime, I get a failure that means nothing to me. I can tell you for a fact (after looking at the source code), that HibernateMappingPlugin has the constructor that is mentioned in this exception. Why it's saying it can't satisfy the dependency, I don't know, and have been unable to figure out (thanks to the complexity of picocontainer).
Not to mention, it's virtually impossible to find any documentation how to even create the ANT task and run the thing. All in all, i'll stick with XDoclet 1.2 for now. 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 SatisfiableConstructor(ConstructorInjectionComponentAdapter.java:142) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateC omponent(ConstructorInjectionComponentAdapter.java:189) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstanc e(InstantiatingComponentAdapter.java:81) 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:67) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstancesOfType( DefaultPicoContainer.java:278) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstancesOfTypeW ithContainerAdaptersLast(DefaultPicoContainer.java:427) at org.picocontainer.defaults.DefaultPicoContainer.start(DefaultPicoContainer.j ava:374) at org.nanocontainer.integrationkit.LifecycleContainerBuilder.buildContainer(Li fecycleContainerBuilder.java:41) at org.nanocontainer.ant.PicoContainerTask.execute(PicoContainerTask.java:95) ... 10 more -----Original Message----- From: Grégory Joseph [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 3:53 PM To: [EMAIL PROTECTED] Subject: Re: [Xdoclet-user] JSP 2.0 Support? Matthew, Feel like helping out with an xdoclet2 plugin? I *think* the web plugin of xdoclet2 (which I actually wrote) is up to the level of xdoclet1's (it even has one more feature to allow ordering of listeners and filters). Adding support for these things should be rather easy. I don't know about jsp2 much, though. If you feel like it, go here http://docs.codehaus.org/display/XDOCLET/ProjectInfo , and subscribe to the list ;) I know xdoclet2 hasn't been released yet, but mainly because it's lacking doc, otherwise it's very stable. Ejb plugin is also totally missing, but that won't prevent from releasing i think. Cheers, greg > Does anyone know if there is planned support in the web > module for JSP2.0 features, such as tag-file elements, and > function classes? Also, support for Servlet 2.4 should be > included as well. > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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_idG21&alloc_id040&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user