You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Markos Charatzas <xa...@forthnet.gr> on 2005/03/02 10:04:39 UTC

maven, xdoclet, hibernate

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

------
maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0
maven.xdoclet.hibernatedoclet.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
------

in project.xml under the dependencies tag I have all (xjavadoc, 
xdoclet-hibernate-module, maven-xdoclet-plugin)
-----
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xjavadoc</artifactId>
      <version>1.0.2</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-hibernate-module</artifactId>
      <version>1.2</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>maven-xdoclet-plugin</artifactId>
      <version>1.2</version>
      <type>plugin</type>
    </dependency>
-----

running 'maven xdoclet:hibernatedoclet'
I get a 'BUILD SUCCESFUL' in the end, but no mappings generated whatsoever.

Any help greatly appreciated :(
Thanks in advance,
Markos Charatzas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven, xdoclet, hibernate

Posted by Markos Charatzas <xa...@forthnet.gr>.
Yia su Mano!

This is more painful than I have imagined... :(

I tried specifying the xdoclet2 dependencies explicitly (according to 
http://xdoclet.codehaus.org/maven-plugin/dependencies.html) but still...

I now get,
--------
BUILD FAILED
File...... /home/xarm/.maven/cache/maven-xdoclet2-plugin-1.0-SNAPSHOT/plugin.jelly
Element... ant:xdoclet
Line...... 31
Column.... 17
Class Not Found: 
org.xdoclet.plugin.hibernate.HibernateMappingPlugin:org.nanocontainer.DefaultNanoContainer$URLPrintingClassLoader@94af2f
org.apache.tools.ant.AntClassLoader@11db6bb
sun.misc.Launcher$AppClassLoader@bfbdb0
sun.misc.Launcher$ExtClassLoader@3e86d0
---------

Arg. these things are meant to make your life easier as a developer! ;)

On Wednesday 02 March 2005 11:36, manos_lists@kattare.com wrote:
> Geia sou wre Marko,
>
> Just a longshot, but i have often encountered problems with the XDoclet
> plugin when the ejb doclet module is not present (and without having any
> use for it). Could be part of the prob. I think you got your config from
> [1]; scroll at the bottom to copy the rest of the dependencies from a
> user message.
>
> Although not a real answer to your problem: you may want to try XDoclet2
> with Hibernate, there's an example at  [2].
>
> [1] http://www.hibernate.org/134.html
> [2] http://xdoclet.codehaus.org/maven-plugin/example-hibernate.html
>
> Manos
>
> Quoting Markos Charatzas <xa...@forthnet.gr>:
> > 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
> >
> > ------
> > maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0
>
> maven.xdoclet.hibernatedoclet.destDir=${maven.build.dir}/xdoclet/hibernated
>oclet
>
> > maven.xdoclet.hibernatedoclet.fileset.0=true
> > maven.xdoclet.hibernatedoclet.fileset.0.dir=${maven.src.dir}/java
> > maven.xdoclet.hibernatedoclet.fileset.0.include=**/*.java
> > ------
> >
> > in project.xml under the dependencies tag I have all (xjavadoc,
> > xdoclet-hibernate-module, maven-xdoclet-plugin)
> > -----
> >     <dependency>
> >       <groupId>xdoclet</groupId>
> >       <artifactId>xjavadoc</artifactId>
> >       <version>1.0.2</version>
> >       <type>jar</type>
> >     </dependency>
> >     <dependency>
> >       <groupId>xdoclet</groupId>
> >       <artifactId>xdoclet-hibernate-module</artifactId>
> >       <version>1.2</version>
> >       <type>jar</type>
> >     </dependency>
> >     <dependency>
> >       <groupId>xdoclet</groupId>
> >       <artifactId>maven-xdoclet-plugin</artifactId>
> >       <version>1.2</version>
> >       <type>plugin</type>
> >     </dependency>
> > -----
> >
> > running 'maven xdoclet:hibernatedoclet'
> > I get a 'BUILD SUCCESFUL' in the end, but no mappings generated
> > whatsoever.
> >
> > Any help greatly appreciated :(
> > Thanks in advance,
> > Markos Charatzas
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven, xdoclet, hibernate

Posted by ma...@kattare.com.
Geia sou wre Marko,

Just a longshot, but i have often encountered problems with the XDoclet
plugin when the ejb doclet module is not present (and without having any
use for it). Could be part of the prob. I think you got your config from
[1]; scroll at the bottom to copy the rest of the dependencies from a
user message.

Although not a real answer to your problem: you may want to try XDoclet2
with Hibernate, there's an example at  [2].

[1] http://www.hibernate.org/134.html
[2] http://xdoclet.codehaus.org/maven-plugin/example-hibernate.html

Manos

Quoting Markos Charatzas <xa...@forthnet.gr>:

> 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
> 
> ------
> maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0
>
maven.xdoclet.hibernatedoclet.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
> ------
> 
> in project.xml under the dependencies tag I have all (xjavadoc, 
> xdoclet-hibernate-module, maven-xdoclet-plugin)
> -----
>     <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>xjavadoc</artifactId>
>       <version>1.0.2</version>
>       <type>jar</type>
>     </dependency>
>     <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>xdoclet-hibernate-module</artifactId>
>       <version>1.2</version>
>       <type>jar</type>
>     </dependency>
>     <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>maven-xdoclet-plugin</artifactId>
>       <version>1.2</version>
>       <type>plugin</type>
>     </dependency>
> -----
> 
> running 'maven xdoclet:hibernatedoclet'
> I get a 'BUILD SUCCESFUL' in the end, but no mappings generated
> whatsoever.
> 
> Any help greatly appreciated :(
> Thanks in advance,
> Markos Charatzas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven, xdoclet, hibernate

Posted by Markos Charatzas <xa...@forthnet.gr>.
Just to point out that I am trying to find my way out of the dependencies 
maze... :)

It would just be helpful if someone could point out which of them are 
*working* with the maven xdoclet2 plugin etc.

Thanks!

On Wednesday 02 March 2005 12:30, Markos Charatzas wrote:
> 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/hibernatedocle
>t
>
> 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 <xa...@forthnet.gr> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven, xdoclet, hibernate

Posted by Markos Charatzas <xa...@forthnet.gr>.
Fianlly did it.

here are the dependencies Im using in case anyone else runs intro trouble.

Thanks Konstantin and Manos for contributing your time :)

-------
    <!-- XDoclet2 Dependencies -->
    <dependency>
        <groupId>xdoclet</groupId>
        <artifactId>xdoclet</artifactId>
        <version>SNAPSHOT</version>
        <url>http://xdoclet.codehaus.org/</url>
    </dependency>

 <dependency>
   <groupId>xdoclet-plugins</groupId>
   <artifactId>maven-xdoclet2-plugin</artifactId>
   <version>1.0-SNAPSHOT</version>
   <type>plugin</type>
   <url>http://xdoclet.codehaus.org</url>
 </dependency>
 
 <dependency>
   <groupId>xdoclet-plugins</groupId>
   <artifactId>xdoclet-plugin-hibernate</artifactId>
   <version>SNAPSHOT</version>
   <url>http://xdoclet-plugins.sf.</url>
 </dependency>

    <dependency>
        <groupId>qdox</groupId>
        <artifactId>qdox</artifactId>
        <version>1.6-SNAPSHOT</version>
        <url>http://qdox.codehaus.org/</url>
    </dependency>

    <dependency>
        <groupId>picocontainer</groupId>
        <artifactId>picocontainer</artifactId>
        <version>1.0</version>
        <url>http://picocontainer.codehaus.org/</url>
    </dependency>

    <dependency>
        <groupId>nanocontainer</groupId>
        <artifactId>nanocontainer-ant</artifactId>
        <version>1.0-beta-1</version>
        <url>http://nanocontainer.codehaus.org/ant/</url>
    </dependency>

    <dependency>
        <groupId>nanocontainer</groupId>
        <artifactId>nanocontainer</artifactId>
        <version>1.0-SNAPSHOT</version>
        <url>http://nanocontainer.codehaus.org/</url>
    </dependency>

    <dependency>
        <groupId>generama</groupId>
        <artifactId>generama</artifactId>
        <version>SNAPSHOT</version>
  <url>http://generama.codehaus.org/</url>
    </dependency>

    <dependency>
        <groupId>velocity</groupId>
        <artifactId>velocity</artifactId>
        <version>1.4</version>
        <url>http://jakarta.apache.org/velocity/</url>
    </dependency>

    <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>2.1</version>
        <url>http://jakarta.apache.org/</url>
    </dependency>

    <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.0.4</version>
        <url>http://jakarta.apache.org/commons/logging/</url>
    </dependency>

    <dependency>
        <groupId>commons-beanutils</groupId>
        <artifactId>commons-beanutils</artifactId>
        <version>1.6.1</version>
        <url>http://jakarta.apache.org/</url>
    </dependency>

    <dependency>
        <groupId>commons-jelly</groupId>
  <artifactId>commons-jelly</artifactId>
        <version>1.0-beta-4</version>
        <url>http://jakarta.apache.org/jelly/</url>
    </dependency>

    <dependency>
        <groupId>commons-jelly</groupId>
        <artifactId>commons-jelly-tags-xml</artifactId>
        <version>1.0</version>
        <url>http://jakarta.apache.org/jelly/</url>
    </dependency>

    <dependency>
        <groupId>commons-jelly</groupId>
        <artifactId>commons-jelly-tags-jsl</artifactId>
        <version>1.0</version>
        <url>http://jakarta.apache.org/jelly</url>
    </dependency>

    <dependency>
        <groupId>commons-jelly</groupId>
        <artifactId>commons-jelly-tags-define</artifactId>
        <version>1.0</version>
        <url>http://jakarta.apache.org/jelly</url>
    </dependency>

    <dependency>
  <groupId>dom4j</groupId>
        <artifactId>dom4j</artifactId>
        <version>1.4</version>
  <url>http://www.dom4j.org</url>
    </dependency>

    <dependency>
  <groupId>commons-jexl</groupId>
        <artifactId>commons-jexl</artifactId>
        <version>1.0</version>
        <url>http://jakarta.apache.org/jexl/</url>
    </dependency>

    <dependency>
  <groupId>ant</groupId>
        <artifactId>ant</artifactId>
        <version>1.5.3-1</version>
  <url>http://ant.apache.org</url>
    </dependency>
----------
On Wednesday 02 March 2005 14:01, Konstantin Priblouda wrote:
> --- Markos Charatzas <xa...@forthnet.gr> wrote:
> > 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
> >
> > :/
>
> Hi Markos,
> maven xdoclet-2 plugin is not in a good shape yet, but
> good news it's  not really needed.
>
> Here is a  sample which is known to be working:
> http://cvs.picocontainer.codehaus.org/viewrep/~raw,r=1.1/picocontainer/java
>/jobdemo/maven.xml
> http://cvs.picocontainer.codehaus.org/viewrep/~raw,r=1.7/picocontainer/java
>/jobdemo/project.xml
>
>
> regard,
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Plugins for xdoclet-2 are released. check it out at:
> http://www.sourceforge.net/projects/xdoclet-plugins/
> ----[ http://www.pribluda.de ]------------------------
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven, xdoclet, hibernate

Posted by Konstantin Priblouda <kp...@yahoo.com>.
--- Markos Charatzas <xa...@forthnet.gr> wrote:

> 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
> :/

Hi Markos, 
maven xdoclet-2 plugin is not in a good shape yet, but
good news it's  not really needed. 

Here is a  sample which is known to be working:
http://cvs.picocontainer.codehaus.org/viewrep/~raw,r=1.1/picocontainer/java/jobdemo/maven.xml
http://cvs.picocontainer.codehaus.org/viewrep/~raw,r=1.7/picocontainer/java/jobdemo/project.xml


regard,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Plugins for xdoclet-2 are released. check it out at:
http://www.sourceforge.net/projects/xdoclet-plugins/
----[ http://www.pribluda.de ]------------------------

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven, xdoclet, hibernate

Posted by Markos Charatzas <xa...@forthnet.gr>.
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 <xa...@forthnet.gr> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven, xdoclet, hibernate

Posted by Konstantin Priblouda <kp...@yahoo.com>.
--- Markos Charatzas <xa...@forthnet.gr> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven, xdoclet, hibernate

Posted by guo yingshou <gu...@yahoo.com.cn>.
you miss some modules in your dependency. If
uncertain, try include all xdoclet modules in the
dependencies.

 --- Markos Charatzas <xa...@forthnet.gr> 的正文:
> 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
> 
> ------
>
maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0
>
maven.xdoclet.hibernatedoclet.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
> ------
> 
> in project.xml under the dependencies tag I have all
> (xjavadoc, 
> xdoclet-hibernate-module, maven-xdoclet-plugin)
> -----
>     <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>xjavadoc</artifactId>
>       <version>1.0.2</version>
>       <type>jar</type>
>     </dependency>
>     <dependency>
>       <groupId>xdoclet</groupId>
>      
> <artifactId>xdoclet-hibernate-module</artifactId>
>       <version>1.2</version>
>       <type>jar</type>
>     </dependency>
>     <dependency>
>       <groupId>xdoclet</groupId>
>       <artifactId>maven-xdoclet-plugin</artifactId>
>       <version>1.2</version>
>       <type>plugin</type>
>     </dependency>
> -----
> 
> running 'maven xdoclet:hibernatedoclet'
> I get a 'BUILD SUCCESFUL' in the end, but no
> mappings generated whatsoever.
> 
> Any help greatly appreciated :(
> Thanks in advance,
> Markos Charatzas
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
> 
>  

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org