Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 46910 invoked by uid 500); 8 May 2001 22:07:10 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Delivered-To: moderator for ant-user@jakarta.apache.org Received: (qmail 24814 invoked from network); 8 May 2001 15:21:17 -0000 Message-ID: <97DBDCBC57F24B488D7EEC7026A7960831ABB5@bayexch3> From: "Ventimiglia, David" To: "'ant-user@jakarta.apache.org'" Subject: Javadoc Date: Tue, 8 May 2001 09:07:31 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, How do I use the 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