Hi,

 
Thanks for the info but it looks like I'm doing things the right way.
 
I can use the maven-xdoclet2-plugin with plugins 1.0.3 without any problem.
I modified the maven plugin and the depdencies in my project to use 1.0.4-SNAPSHOT and I cannot get rid of the error:

Here are the lib in my classpath:
xdoclet-2.0.6-SNAPSHOT.jar
qdox-20051211.114207.jar
picocontainer-1.0.jar
nanocontainer-ant-1.0-beta-3.jar
nanocontainer-1.0-beta-3.jar
generama-1.2.3-SNAPSHOT.jar
velocity-1.4.jar
commons-collections-3.1.jar
log4j-1.2.8.jar
commons-logging-1.0.4.jar
commons-beanutils\jars\commons-beanutils-1.7.0.jar
commons-jelly\jars\commons-jelly-20050813.225330.jar
commons-jelly-tags-xml-20050823.222913.jar
commons-jelly-tags-jsl-1.0.jar
commons-jelly-tags-define-1.0.jar
dom4j-1.6.jar
jaxen-1.1-beta-4.jar
saxpath-1.0-FCS.jar
commons-jexl-1.0.jar
ant-1.5.3-1.jar
xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.jar
xdoclet-plugin-qtags-1.0.4-SNAPSHOT.jar
xdoclet-taglib-qtags-1.0.4-SNAPSHOT.jar
 
 
Here is how I invoke it

<xdoclet verbose="false">
 <fileset dir="c:\eclipse\workspace\DBInterface/src">
  <include name="**/*.java"/>
 </fileset>
 <component classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin" 
     encoding="utf-8"
     version="3.0"
     validate="false"
     destdir="c:\eclipse\workspace\DBInterface/xdoclet/hibernatedoclet"
     >
 </component>
</xdoclet>

 
I always get this error and I don't know how to get rid of it:

org.picocontainer.defaults.AmbiguousComponentResolutionException:
 Ambiguous interface org.xdoclet.QDoxPropertyExpander, resolves to multiple keys
 [class org.xdoclet.ant.XDocletTask$PropertyComposer,
 class org.xdoclet.tools.SystemQDoxPropertyExpander,
 class org.xdoclet.ant.XDocletTask$MyPropertiesQDoxPropertyExpander]
 
 
I suppose I am using a wrong version of a dependency, or there is a new property I should declare on my component. Someone has any idea?
 
 
Thanks,
Daniel
 
 
On 10/19/06, Konstantin Priblouda <[EMAIL PROTECTED]> wrote:


--- Daniel Beland <[EMAIL PROTECTED]> wrote:

> ok I understand your build tool is now maven2, no
> problem with that.
> I will have to upgrade myself one day.
>
> Can you detail what is required now to invoke it, or
> where I can find that
> information?
> (Web site, mailing list, code itself if there is
> nothing better).


invocation will work from ant or m1 too. basically
you register individual plugins / tools in the task,
and they will be run:

http://xdoclet.codehaus.org/XDoclet+Invocation+through+Ant

See also maven.xml on top of plugins to see how this
is supposed to work in m1

m2 invocation is in pom.xml of taglib subdirectory

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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to