ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <gl...@somanetworks.com>
Subject Re: how to exclude packages from javadoc
Date Thu, 06 Sep 2001 13:23:26 GMT
Ernst Pl├╝ss wrote:

> But I've two packages named ch.corix.Prototype and
> ch.corix.Dia which I want to exclude from the
> generated javadoc. Can somebody tell me how I can do
> this, without listing all other packages in the
> pachagenames?

In Ant 1.4 (not sure about previous releases) use

<javadoc ...
  packagenames="ch.corix.*"
  excludepackagenames="ch.corix.Prototype,ch.corix.Dia"
  ... />

or use the nested elements

<javadoc ... >
  <package name="ch.corix.*" />
  <excludepackage name="ch.corix.Prototype" />
  <excludepackage name="ch.corix.Dia" />
</javadoc>


Glenn McAllister
SOMA Networks, Inc.

Mime
View raw message