ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anupama Ramesh" <anupama.ram...@demandtec.com>
Subject RE: javadoc question
Date Fri, 28 Dec 2001 20:02:18 GMT
>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:gabor@softface.com]
Sent: Friday, December 28, 2001 11:06 AM
To: ant-user@jakarta.apache.org
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message