--- Fr�d�ric Dreier <[EMAIL PROTECTED]> wrote: > Hi, > > I'm looking to port my ant-based project to maven, > but just got in > troubles with xdoclet. > > my problems are : > - an exception : > java.lang.NoSuchMethodError: > xjavadoc.XClass.getTransformedName()Ljava/lang/String; > at > xdoclet.modules.hibernate.HibernateSubTask.getGeneratedFileName(HibernateSubTask.java:76)
That means that you got wrong version of xjavadoc... > ... > - hbm.xml files are generated for dtd 1.1 instead of > 2.0. > and hibernate try constantly to download the dtd > since it is not in 2.0 > jar file > > - hibernatecfg task complains that a datasource or a > jdbc connection > have to be defined. > > I am a maven-newbie (and even not already understood > the all maven > concepts and tricks), could someone help me? Well, if hibernate is just that what you need, you could easily switch to xdoclet-2 ( its hibernate plugin is in good shape ) Homepage of xdoclet-2 is: http://xdoclet.codehaus.org There you will find necessary information. I would recommend to steal the basic dependencies from http://www.sourceforge.net/xdoclet-plugins/ project ( xdoclet 2 plugins are build using xdoclet 2 itself ) And do not forget to specify remote repository of codehaus - not everything lives on ibiblio ( steal it from project.properties of xdocelt-plugins ) regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- ... Sucht gerade nach neuen Projekt oder Festanstelung.... Plugins for xdoclet-2 are released. check it out at: http://www.sourceforge.net/projects/xdoclet-plugins/ ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
