Beginner |
|
Joined: Wed Oct 01, 2003 3:57 am Posts: 33 Location: Alpharetta, Georgia
|
Are you using Ant or Maven?
Here's something from an ant file that's doing the javadoc for me, it gets ride of all the @hibernate.component or @hibernate.property etc problems, but it does miss the @hibernate.one-to-many, javadocs seems to get upset over the hyphens
<target name="javadoc" depends="prepare">
<javadoc packagenames="*"
sourcepath="${java.src.dir}"
defaultexcludes="yes"
destdir="${javadoc.dest.dir}"
author="true"
stylesheetfile="${basedir}/javadocs.css"
version="true"
use="true"
verbose="no"
breakiterator="true"
classpathref="compile.classpath"
private="true"
windowtitle="CCG Version 1 API">
<doctitle><![CDATA[<h1>Test</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright © 2004 CCG Corp. All Rights Reserved.</i>]]></bottom>
<tag name="to.do" scope="all" description="To do:" />
<tag name="hibernate.property" enabled="true"/>
<tag name="hibernate.id" enabled="true"/>
<tag name="hibernate.class" enabled="true" description="<br/>Persistent Hibernate Class."/>
<tag name="hibernate.component" enabled="true" description="<br/>Hibernate Component." />
<tag name="hibernate.set" enabled="true" description="<br/>Hibernate Set Descriptor." />
<tag name="hibernate.set" enabled="true" description="<br/>Hibernate Set Descriptor." />
<tag name="hibernate.collection-key" enabled="true" description="<br/>Column carrying the unique foreign relation id." />
<tag name="hibernate.one-to-many" enabled="true" description="<br/>Defining the 'one' side of the many-to-one" />
<tag name="hibernate.many-to-one" enabled="true" description="<br/>Defining the 'many' side of the many-to-one" />
<link href="http://java.sun.com/j2se/1.4.2/docs/api"/>
<link href="http://www.springframework.org/docs/api"/>
</javadoc>
</target>
|
|