ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Davies <>
Subject RE: javadoc
Date Tue, 23 Jan 2001 00:32:22 GMT
There is a way, but it may not be the answer you are looking for.

I had the same issue with my open source project
( What I did is to move the JUnit
source code out of the main source directory. For example, here is how I
divided the source code:

			/ (etc.)

This way, the classes are all in the same package (i.e. thorn), but the
source files are divided between the normal source and the unit tests.
Therefore, when I run JavaDoc, I only add the /src/ directory to the
sourcepath attribute, so I never generate javadoc for the unit tests.

- Jeff Davies

-----Original Message-----
From: Anuj Agrawal []
Sent: Monday, January 22, 2001 2:15 PM
Subject: javadoc

When using ANT to generate javadoc, is there a way to exclude certain files
being used?  E.g. *
(We're using the Junit framework and want to exclude test files/classes.)


View raw message