Are there any examples for running the EJB plugin from ant?

 

I always get messages like this

 

org.picocontainer.defaults.UnsatisfiableDependenciesException:

org.xdoclet.plugin.ejb.interfaces.RemoteInterfacePlugin doesn't have any satisfiable constructors.

Unsatisfiable dependencies: [[

  class org.generama.VelocityTemplateEngine, interface org.generama.QDoxCapableMetadataProvider,

  interface org.generama.WriterMapper, class org.xdoclet.plugin.ejb.EjbConfig]]

 

from the following:

 

<taskdef name="xdoclet2" classname="org.xdoclet.ant.XDocletTask"

  classpathref="xdoclet2.classpath"/>

<xdoclet2>

  <fileset dir="src/java">

    <include name="com/scentric/destiny/bizservice/**/*.java" />

  </fileset>

  <component classname="org.xdoclet.plugin.ejb.interfaces.RemoteInterfacePlugin"

    packageregex="bizservice" substituteWith="base.interfaces"

    validate="true" destdir="build/src" />

</xdoclet2>

Reply via email to