ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlcarpen...@household.com
Subject Re: Creating custom data container rather than task for use as nested element in a custom task
Date Thu, 08 Aug 2002 00:41:17 GMT


>> I am still a bit confused as to when a class corresponding to a nested
>> element should inherit from the org.apache.tools.ant.types.DataType
class
>> (i.e. the fairly simple org.apache.tools.ant.types.Substitution class).
>> The answer seems to revolve around when one needs to use reference ids.
>>
>> I have access to the Oreilly Ant book via Safari
http://safari.oreilly.com
>> but have not found a good answer there.
>> I do not yet own Erik and Steve's book published by Manning.  Is this
>> question answered well there?

>um, no. We blissfully ignore those classes and say 'refids are handled
>automatically' with datatypes, skirting around the 'you'd all better share
>the same classloader 'problem, which crops up where we look at the C++
tasks
>and types.

>remember for nested text elements you need to do property substitution
>yourself.
>--steve

What is property substitution?

James Lee Carpenter
Software Engineer
Household Technical Services
6602 Convoy Court
San Diego, CA 92111

ph: 858-609-2461
email: jlcarpenter@household.com



--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message