ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Davis" <jsd2...@bellatlantic.net>
Subject RE: javadoc
Date Tue, 23 Jan 2001 13:38:10 GMT
If you can't do what Jeff suggests, you can use <copy> with a <fileset>
before <javadoc> to move the code into a temporary directory.  This is a
workaround for a problem that I had noticed where <javadoc> processes files
in CVS directories.

> -----Original Message-----
> From: Jeff Davies [mailto:JDavies@Ceon.com]
> Sent: Monday, January 22, 2001 7:32 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: javadoc
>
>
> 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
> (http://sourceforge.net/projects/thorn). 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:
>
> /thorn/
> 	/src/
> 		/thorn/
> 			/a.java
> 			/b.java (etc.)
> 	/test/
> 		/thorn/
> 			/atest.java
> 			/btest.java
>
>
> 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 [mailto:agrawal@lucent.com]
> Sent: Monday, January 22, 2001 2:15 PM
> To: ant-user@jakarta.apache.org
> Subject: javadoc
>
>
> When using ANT to generate javadoc, is there a way to exclude
> certain files
> from
> being used?  E.g. *Test.java
> (We're using the Junit framework and want to exclude test files/classes.)
>
> Thanks.
> Anuj.


Mime
View raw message