You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by todd smith <to...@yahoo.com> on 2003/05/16 07:35:57 UTC
javadoc problems
i cant seem to get the simplest of javadoc tasks to
work. here is the definition of my task:
<target name="doc" description="generate javadocs for
project">
<delete dir="${docs.dir}"/>
<mkdir dir="${docs.dir}"/>
<javadoc sourcepath="${source.dir}"
destdir="${docs.dir}">
</javadoc>
</target>
when i run the task i receive the following error:
build.xml [201] No source files and no packages have
been specified.
any suggestions?
=====
Todd Smith
email: todcsmith@yahoo.com
AIM: dtw SickBoy
ICQ: 159114711
MSN: toddelsmith@hotmail.com
phone: 801-587-1699
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Re: javadoc problems
Posted by todd smith <to...@yahoo.com>.
didnt work, heres my updated ant task:
<target name="doc" description="generate javadocs for
project">
<delete dir="${docs.dir}"/>
<mkdir dir="${docs.dir}"/>
<javadoc destdir="${docs.dir}">
<package name="scheduler.*"/>
<sourcepath location="${source.dir}"/>
</javadoc>
</target>
with same error message:
BUILD FAILED
file:c:/tmp/sched/build.xml:199: No source files and
no packages have been speci
fied.
its the same line each time and it always seems to
have problems with 'destdir=${docs.dir}"
--- Xavier_Pr�lat <pr...@wcentric.com> wrote:
> So define a package
> my working example...:
>
> <target name="doc" description="Generate javadoc "
> >
> <javadoc destdir="${build.doc}">
> <package name="wcentric.net.*"/>
> <sourcepath location="${src.dir}"/>
> <classpath location="${build.dir}"/>
> </javadoc>
> </target>
>
>
> Hope it helps!
>
> regards
> Xavier
>
> todd smith a �crit:
>
> >i cant seem to get the simplest of javadoc tasks to
> >work. here is the definition of my task:
> >
> ><target name="doc" description="generate javadocs
> for
> >project">
> > <delete dir="${docs.dir}"/>
> > <mkdir dir="${docs.dir}"/>
> > <javadoc sourcepath="${source.dir}"
> > destdir="${docs.dir}">
> > </javadoc>
> > </target>
> >
> >
> >when i run the task i receive the following error:
> >build.xml [201] No source files and no packages
> have
> >been specified.
> >
> >any suggestions?
> >
> >
> >
> >=====
> >Todd Smith
> >email: todcsmith@yahoo.com
> >AIM: dtw SickBoy
> >ICQ: 159114711
> >MSN: toddelsmith@hotmail.com
> >phone: 801-587-1699
> >
> >__________________________________
> >Do you Yahoo!?
> >The New Yahoo! Search - Faster. Easier. Bingo.
> >http://search.yahoo.com
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> >For additional commands, e-mail:
> user-help@ant.apache.org
> >
> >
> >
> >
> >
> >
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
>
=====
Todd Smith
email: todcsmith@yahoo.com
AIM: dtw SickBoy
ICQ: 159114711
MSN: toddelsmith@hotmail.com
phone: 801-587-1699
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Re: javadoc problems
Posted by Xavier Prélat <pr...@wcentric.com>.
So define a package
my working example...:
<target name="doc" description="Generate javadoc " >
<javadoc destdir="${build.doc}">
<package name="wcentric.net.*"/>
<sourcepath location="${src.dir}"/>
<classpath location="${build.dir}"/>
</javadoc>
</target>
Hope it helps!
regards
Xavier
todd smith a écrit:
>i cant seem to get the simplest of javadoc tasks to
>work. here is the definition of my task:
>
><target name="doc" description="generate javadocs for
>project">
> <delete dir="${docs.dir}"/>
> <mkdir dir="${docs.dir}"/>
> <javadoc sourcepath="${source.dir}"
> destdir="${docs.dir}">
> </javadoc>
> </target>
>
>
>when i run the task i receive the following error:
>build.xml [201] No source files and no packages have
>been specified.
>
>any suggestions?
>
>
>
>=====
>Todd Smith
>email: todcsmith@yahoo.com
>AIM: dtw SickBoy
>ICQ: 159114711
>MSN: toddelsmith@hotmail.com
>phone: 801-587-1699
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.
>http://search.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>
>
>