Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ant and javadoc - more then one source dir

Status
Not open for further replies.

prmckee

Programmer
Jul 27, 2004
8
0
0
IE
Can you have more then one directory as a source for the javadoc.

I have tried the following with no success....

<target name="javadoc" depends="compile"
description="Create Javadoc API documentation">

<mkdir dir="${dist.home}/docs/api"/>
<javadoc sourcepath="${src.home}"
destdir="${dist.home}/docs/api"
packagenames="*"
author="true"
version="true"
use="true"
windowtitle="Hospital Project API">

<fileset dir="src" defaultexcludes="yes">
<include name="applet/**" />
<include name="src/**" />
</fileset>

<doctitle><![CDATA[<h1>Hospital Project API</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright &#169; 2004 Rocket Science. All Rights Reserved.</i>]]></bottom>

<classpath refid="compile.classpath"/>
</javadoc>
</target>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top