Hello Konstantin,

Thanks for pointing that out.
However, Im still having problems.

Using XDoclet2 now in project.xml I have the following,
(as defined in 
http://xdoclet.codehaus.org/maven-plugin/example-hibernate.html)
----
 <dependency>
  <groupId>xdoclet</groupId>
  <artifactId>maven-xdoclet-plugin</artifactId>
  <version>1.0-SNAPSHOT</version>
  <url>http://xdoclet.codehaus.org</url>
  <type>plugin</type>
 </dependency>
 <dependency>
  <groupId>xdoclet-plugins</groupId>
  <artifactId>xdoclet-plugin-hibernate</artifactId>
  <version>1.0-SNAPSHOT</version>
  <url>http://xdoclet-plugins.sf.net/</url>
  <properties>
   <xdoclet.dependency>true</xdoclet.dependency>
  </properties>
 </dependency>
----

Wondering why its maven-xdoclet-plugin and not maven-xdoclet2-plugin (notice 
the 2), although I tried that and didnt work as well :/

Ive also configured the Xdoc2 plugin in maven (project.properties) like,

---------------
maven.xdoclet.0 = hibernate
maven.xdoclet.0.hibernate = 
org.xdoclet.plugin.hibernate.HibernateMappingPlugin
maven.xdoclet.0.hibernate.destDir=${maven.build.dir}/xdoclet/hibernatedoclet

maven.xdoclet.hibernatedoclet.fileset.0 = true
maven.xdoclet.hibernatedoclet.fileset.0.dir = ${maven.src.dir}/java
maven.xdoclet.hibernatedoclet.fileset.0.include = **/*.java
--------------

When runing maven xdoclet2 I get the following...

---
BUILD FAILED
File...... 
/home/xarm/.maven/cache/maven-xdoclet2-plugin-1.0-SNAPSHOT/plugin.jelly
Element... ant:xdoclet
Line...... 31
Column.... 17
(class: org/xdoclet/plugin/hibernate/qtags/TagLibrary, method: <init> 
signature: (Lorg/generama/MetadataProvider;)V) Incompatible object argument 
for function call
----

Googled it and end up to the following url:
http://jira.codehaus.org/browse/XDOCLET-24

So I guess Im in a dead end.

In the jobdemo project I dont see any configuration for using the xdoclet 
plugin in maven. :/

Thanks,
Markos


On Wednesday 02 March 2005 11:10, Konstantin Priblouda wrote:
> --- Markos Charatzas <[EMAIL PROTECTED]> wrote:
> > Greetings to the list!
> >
> > I dont know why, but I cant seem to figure out how
> > to make all 3 work!
> > The docs are kinda poor plus every other resource I
> > found hasn't provide a
> > complete solution.
> >
> > Using hibernate 2. In my project.properties I have
> > set the following
>
> I would recommend to upgrade to xdoclet-2.
> You can see examples in
> http://xdoclet.codehaus.org, or in picocontainer
> CVS ( http://www.picocontainer.org ) in subdir jobdemo
> ( webapp built with maven and using hibernate as
> persistenze layer )
>
> regards,
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Plugins for xdoclet-2 are released. check it out at:
> http://www.sourceforge.net/projects/xdoclet-plugins/
> ----[ http://www.pribluda.de ]------------------------
>
>
>
>
> __________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> http://birthday.yahoo.com/netrospective/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to