>I have other stuff in that directory that I don't want to generate docs for. >Thanks, >--Gabor. You can use excludepackagenames="" to exclude stuff you do not want to generate docs for. Here is a part of how my Target looks like: <target name="javadoc"> <javadoc packagenames="com.demandtec.*" sourcepath="${src.dir}" excludepackagenames="com.demandtec.price.db.*" defaultexcludes="yes" destdir="${src.dir}/../doc" author="true" version="true" use="true" etc...
-----Original Message----- From: Gabor Torok [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 11:06 AM To: [EMAIL PROTECTED] Subject: javadoc question Hi, Is there a way to tell the javadoc task to use a path-like structure to specify which files (sources) I want to document? For example if I have: <path id="mysources"> <pathelement location="${src}/a.java" /> <pathelement location="${src}/b.java" /> <pathelement location="${src}/c.java" /> </path> can I do something like: <javadoc sourcepath="${src}" classpath="${cp}" destdir="${docs}"> <source pathref="mysources" /> </javadoc> I have other stuff in that directory that I don't want to generate docs for. Thanks, --Gabor. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>