XDoclet is not a replacement for Javadoc. It (currently, nor is in the plans that I know of) does not generate Javadoc-like output. If you were so inclined, that could be built though.

The example you provided below is not telling XDoclet to do anything. You must use a sub-task within the <xdoclet> tags for it to actually generate something. I encourage you to research XDoclet's capabilities a bit more so you get a better feel for what its all about - and generating Javadoc HTML output is *not* of of the zillion things XDoclet is good for :)

Erik


Dustin Hunter wrote:
I am attempting to get xdoclets up and running to replace our javadocs. We add @customer tags to all public api classes that should be made available to our customers. I need a doclet that generates just the docs for these classes.
So as a first step I want to use the xdoclets to generate javadocs with no fancy business. The following lines do not have any errors, but also do not generate a single doc file. What's wrong? I can create javadocs using the JavaDoc task for the same packages fine.

<path id="xdoclet.classpath">
<pathelement location="${log4j.jar}"/>
<pathelement location="${commons-logging.jar}"/>
<fileset dir="${xdoclet.dir}" includes="*.jar"/>
</path>
<taskdef name="xdoclet"
classname="xdoclet.DocletTask">
<classpath>
<path refid="xdoclet.classpath"/>
</classpath>
</taskdef>

...
<target name="xdoc" >
<xdoclet
destdir="${basedir}/xdoc"
>
<fileset dir="${common.dir}/src/java"/>
</xdoclet>
</target>

Any help would be appreciated.
- Dustin


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to