In enunciate.xml file, specify the following tag for the super class
<api-import class="com.superclassPackage.superClassName" />
This works for the case when superClass belongs to some other project as well.
Question
I have following class hierarchy. When I generate javadoc for subclass, the generated doc does not contain java doc comment for the method inherited from the super class.
public class SuperClass
{
/**
Something interesting.
*/
public void SuperClassMethod() {
}
...
}
public class SubClass extends SuperClass
{
}
I am generating docs for SubClass. The doc for the method from the SuperClass are empty.
Solution
In enunciate.xml file, specify the following tag for the super class
<api-import class="com.superclassPackage.superClassName" />
This works for the case when superClass belongs to some other project as well.