ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ventimiglia, David" <David.Ventimig...@morganstanley.com>
Subject Javadoc
Date Tue, 08 May 2001 15:07:31 GMT
Hi,

How do I use the <javadoc> task to generate docs for all packages under a
given root directory?  The task takes either a packagenames attribute, which
accepts wildcards, or a sourcefiles attribute, which doesn't accept
wildcards.  The wildcard support in the packagenames attribute seems to only
find Java class files in directories corresponding to the leaf element in
the packagename, right before the "terminating wildcard".  This suggests
that, to generate docs for a whole project, one must list all of its
constituent packages, and that it's not possible to specify only a root
package.

That is, if my project looks like this:

../com/foo/bar/production:
	HelloServlet.java
../com/foo/bar/test:
	HelloServletTester.java

Then this works:

packagenames="com.foo.bar.production.*,com.foo.bar.test.*"

But this doesn't:

packagenames="com.*"

Is there a way to achieve this?

Thanks!
Cheers,
David

Mime
View raw message