You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Arun Katkere <ka...@praja.com> on 2000/10/10 16:30:41 UTC
RE: Javadoc excludes
We use <copydir> which takes both includes and excludes to copy selected
source files to a scratch dir and we run <javadoc> in that scratch
directory. If you keep the scratch dir around (except with a "clean"
atrget), this is not very expensive since<copydir> is intelligent enough to
copy only changed files.
An admittedly ugly solution. Does anyone know of a better one?
-arun
-----Original Message-----
From: Dan Smith [mailto:dan.smith@globalone.net]
Sent: Tuesday, October 10, 2000 7:14 AM
To: ant
Subject: Javadoc excludes
I just setup our project to use ant and was wondering if there was a way to
'exclude' files from javadoc compilation. We are using junit for testing
and would like to exclude our test classes (i.e. **/test/*.java).
Unfortunatly, the 'excludes' tag doesn't exist for javadoc. Any
suggestions?
Thanks,
Dan
--
"Sometimes I wish I could be you, just so I could be friends with me."
-- Agelica Pickles
Re: Javadoc excludes
Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "DS" == Dan Smith <da...@globalone.net> writes:
DS> Yeah, that was my temporary solution. I was just wondering if
DS> there was a way to use the 'exclude' tags since they seem much
DS> cleaner (and intuitive).
I know, it has been proposed several times but noone has submitted a
patch to implement it yet 8^).
DS> On another note, does anybody know how to pass arguments to the
DS> VM through javadoc?
Take a look at the additionalparam attribute.
Stefan