RE: DataTypes

2003-08-06 Thread Jan . Materne
> > I will have to investigate is there is an easy way/pattern to allow > > something to be a nested sub-element or have reference id, on the > > parent element. > > The "parent" decides which nested elements it will accept. The > patterns for that are listed in the "Writing your own task" sectio

Re: DataTypes

2003-08-06 Thread Stefan Bodewig
picking up the pieces Peter hasn't already answered. On Tue, 5 Aug 2003, Adam Jack <[EMAIL PROTECTED]> wrote: > Thanks Stefan, good information, I appreciate it. > >> In principle with Ant 1.2, but didn't exist before >> Ant 1.4 (and didn't work properly before 1.5). > > So, let's see

Re: DataTypes

2003-08-05 Thread peter reilly
You can look in bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=19897 or some of of the e-mail trails, including http://marc.theaimsgroup.com/?t=10528987595&r=1&w=2 The main points are: 1) In ant 1.6, tasks and types are unified. A task is just a type that extends org.apache.tool

RE: DataTypes

2003-08-05 Thread Adam Jack
Thanks Stefan, good information, I appreciate it. > In principle with Ant 1.2, but didn't exist before Ant 1.4 > (and didn't work properly before 1.5). So, let's see. If I make my classes sub-class from DataType, but don't rely upon folks having to typedef them, then I ought be in go

Re: DataTypes

2003-08-05 Thread Stefan Bodewig
On Sun, 3 Aug 2003, Adam Jack <[EMAIL PROTECTED]> wrote: > I did a search and looked at > http://ant.apache.org/manual/develop.html#writingowntask, but didn't > find much on DataTypes. Mainly because DataTypes are nothing fancy, just beans that follow Ant's introspection rules. > 1) When were Da