ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From todd smith <todcsm...@yahoo.com>
Subject Re: javadoc problems
Date Fri, 16 May 2003 19:07:05 GMT
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 <prelat@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

Mime
View raw message