aaronkeatley (2) [Avatar] Offline
#1
The todo directory is created fine, as are all the html files but they are all empty. What am i missing, any suggestions would be appreciated.

The xdoclet parts of my build.xml are below
---------------------------------------
<property name="xdoclet.jar" value="xdoclet/xdoclet-1.2.3.jar"/>
<property name="xdoclet-module.jar" value="xdoclet/xdoclet-xdoclet-module-1.2.3.jar"/>
<property name="xjavadoc.jar" value="xdoclet/xjavadoc-1.1.jar"/>
<property name="commons-collections.jar" value="jakarta/commons-collections-3.1.jar"/>
<property name="commons-logging.jar" value="jakarta/commons-logging-1.0.4.jar"/>



<path id="xdoclet.classpath">
<pathelement location="${root.lib}/${xdoclet.jar}"/>
<pathelement location="${root.lib}/${xdoclet-module.jar}"/>
<pathelement location="${root.lib}/${xjavadoc.jar}"/>
<pathelement location="${root.lib}/${commons-collections.jar}"/>
<pathelement location="${root.lib}/${commons-logging.jar}"/>
<pathelement >


<target name="init" >
<taskdef name="documentdoclet" >
classname="xdoclet.modules.doc.DocumentDocletTask"
classpathref="xdoclet.classpath"/>
</target>

<target name="todo" depends="init" >
<!-- <delete dir="${build.basedir}/todo"> </delete>-->
<mkdir dir="${build.basedir}/todo"/>
<documentdoclet destdir="${build.basedir}/todo" >
>
<fileset dir="${src.dir}/api"/>
<fileset dir="${src.dir}/tst"/>
<fileset dir="${src.dir}/app"/>
<info header="To-do list" >
projectname="Custom Ant Task"
tag="todo"/>
</documentdoclet>

<echo message="{src.dir} --- ${src.dir}"></echo>
</target>
---------------------------------

Cheers Aaron
aaronkeatley (2) [Avatar] Offline
#2
Re: Problem with "xdoclet.modules.doc.DocumentDocletTask", all html files a
I have solved the problem.
mhilberink (1) [Avatar] Offline
#3
Re: Problem with "xdoclet.modules.doc.DocumentDocletTask", all html files a
Hi,

I have the same problem. How did you solve it? Please reply.

Marjon