Hello Charles, Thanks for taking the time to reply. I migrated to xdoclet2 after some discussion in the Maven list.
Not to say it was easy (had to deal with the dependencies maze) but at least I got it working now. Regards, Markos On Thursday 03 March 2005 01:09, Charles Blaxland wrote: > Hi Markos, > > I'm not entirely sure what's wrong with your configuration, but I am > running these three together successfully: > maven-1.0 > hibernate-2.1.8 > xdoclet-1.2.2 > > Here's my config. There's a few differences to yours, but not sure > which ones are significant. My setup also generates the db schema using > Hibernate's SchemaExport tool. > > project.properties: > maven.xdoclet.hibernatedoclet.hibernate.0 = true > maven.xdoclet.hibernatedoclet.hibernate.0.Version = 2.1 > maven.xdoclet.hibernatedoclet.destDir = resources/classpath > maven.xdoclet.hibernatedoclet.fileset.0 = true > maven.xdoclet.hibernatedoclet.fileset.0.dir = ${maven.src.dir} > maven.xdoclet.hibernatedoclet.fileset.0.include = **/*.java > maven.hibernate.properties = resources/hibernate.properties > maven.hibernate.output.dir = resources > maven.hibernate.input.dir = resources/classpath,${maven.build.dest} > > project.xml: > <dependency> > <groupId>hibernate</groupId> > <artifactId>hibernate</artifactId> > <version>2.1.8</version> > </dependency> > <dependency> > <groupId>maven</groupId> > <artifactId>maven-hibernate-plugin</artifactId> > <version>1.2</version> > <type>plugin</type> > </dependency> > <dependency> > <groupId>xdoclet</groupId> > <artifactId>xdoclet-hibernate-module</artifactId> > <version>1.2.2</version> > </dependency> > <dependency> > <groupId>xdoclet</groupId> > <artifactId>maven-xdoclet-plugin</artifactId> > <version>1.2.2</version> > <type>plugin</type> > </dependency> > > maven.xml: > <preGoal name="java:compile"> > <attainGoal name="xdoclet:hibernatedoclet"/> > </preGoal> > <goal name="generate-schema" prereqs="java:compile"> > <attainGoal name="hibernate:schema-export"/> > </goal> > > > Cheers, > Charles > > Markos Charatzas 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 > > > >------ > >maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0 > >maven.xdoclet.hibernatedoclet.destDir=${maven.build.dir}/xdoclet/hibernate > >doclet 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 > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > xdoclet-user mailing list > xdoclet-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user