Hi, I am trying to create my own custom doclet object by using the Doclet API and dom4j to print out my own specialized HTML output.
I execute the javadoc command with Ant and I am finding that my doclet code crashes when I try to call org.dom4j.DocumentHelper.createDocument(). The issue seems to be related to reflection and classpaths, but I'm not really sure what the problem is. Almost any factory method or any call to Class.forName seems to fail. Is there something special that needs to be done with the classpath in Ant? Can you do reflection in Doclets?