>From plugin.jelly

<!-- 
set components we tokenize it here to allow multiple plugins in same
xdoclet run
-->
<j:forEach var="component_index" items="${xdoclet_name.split(',')}">
<j:set var="varname"
value="maven.xdoclet.${xdoclet_index}.${component_index}"/>
<j:set var="component_class" value="${context.getVariable(varname)}"/>
<j:set var="varname"
value="maven.xdoclet.${xdoclet_index}.${component_index}."/>
<j:set var="encoding" value="${maven.compile.encoding}"
defaultValue="utf-8"/>
<ant:component classname="${component_class}" encoding="${encoding}">
<j:forEach var="prop" items="${pom.getContext().getVariables().entrySet()}">
<j:if test="${prop.getKey().startsWith(varname)}">
<ant:setProperty name="${prop.getKey().replaceAll(varname, '')}"
value="${prop.getValue()}"/>
</j:if>
</j:forEach>
</ant:component>
</j:forEach>


It seems so :)

So Matthew properties should be something like

maven.xdoc.date=left
maven.xdoclet.0.fileset.0.dir=${maven.build.dir}
maven.xdoclet.0.fileset.0.include=**/*Bean.java
maven.xdoclet.0=ejbconfig,ejblocalhome,ejbxml
maven.xdoclet.0.ejbconfig=org.xdoclet.plugin.ejb.EjbConfig
maven.xdoclet.0.ejblocalhome=org.xdoclet.plugin.ejb.interfaces.LocalHome
InterfacePlugin
maven.xdoclet.0.ejblocalhome.destdir=${maven.build.dir}/generated
maven.xdoclet.0.ejbxml=org.xdoclet.plugin.ejb.descriptor.EjbJarXmlPlugin
maven.xdoclet.0.ejbxml.destdir=${maven.build.dir}/xdoclet


-----------------------------------
Diogo Bacelar Quintela
EF - Tecnologias de Informação, Lda.
Av. António Serpa, 26 - 4º Dto.
1050-027 Lisboa, Portugal
Tel: (+351) 217 827 800
Fax: (+351) 217 827 830
Email: [EMAIL PROTECTED]
PGP: 0xF51A5AB9 

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Konstantin Priblouda
> Sent: quinta-feira, 27 de Outubro de 2005 13:14
> To: xdoclet-plugins-interest@lists.sourceforge.net
> Subject: RE: [xdoclet-plugins-interest] Problems with ejbplugin:
> UnsatisfiableDependenciesException
> 
> 
> 
> --- "Diogo Quintela (EF)" <[EMAIL PROTECTED]>
> wrote:
> 
> > LocalHomeInterfacePlugin and quite all plugins ejb
> > related have a dependency
> > on EjbConfig.
> >
> > So, you must call something like that
> >
> > <xdoclet>
> > <component name="org.xdoclet.plugin.ejb.EjbConfig"/>
> > <component
> >
> name="org.xdoclet.plugin.ejb.interfaces.LocalHomeInterfacePlugin"/>
> > </xdoclet>
> >
> > Btw, I am not sure if 1.0.2 has a dependency on
> > generama 1.2.1 or is just
> > CVS version.
> 
> 
> But he tries to do this from maven plugin...   does
> plugin support additional components?
> 
> Maybe we have to add configuration for this.
> 
> regards.
> 
> ----[ Konstantin Pribluda http://www.pribluda.de ]----------------
> Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
> check it out: http://xdoclet.codehaus.org
> 
> 
> 
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to