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.

Reply via email to