ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: creating a custom Condition
Date Wed, 23 Jun 2004 06:16:22 GMT
On Tue, 22 Jun 2004, Jeffrey Bacon <> wrote:

> Do I have to <typedef> all my custom DataTypes -- even ones that are
> defined as inner classes in my Tasks?

You need <typedef> only in two cases:

* you want to use your data type by name outside of any other task.

* you want to use your data type as a type that gets passed into one
  of the new add(Type) and addConfigured(Type) setter methods[1].
  For example if you want to use it as a custom condition or selector or



     BTW, there is a typo that I'm going to fix ASAP as it says
     <taskdef> in the first paragraph where it means <typedef>.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message