ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Lee" <George...@truexchange.com>
Subject Ant Task Development Question - Nested Elements with Nested Elements
Date Thu, 17 Jan 2002 23:57:18 GMT
I am currently developing an ant task that requires the following xml
structure:

<foo value1="blah" value2="blah" ... >
	<bar value3="blah" value4="blah" ... >
		<baz value5="blah" value5="blah" ... />
		<baz value5="blah" value5="blah" ... />
	</bar>
	<bar value3="blah" value4="blah" ... >
		<baz value5="blah" value5="blah" ... />
	</bar>
</foo>

I've attempted implementing 

1)	"foo" as a Task,
	"bar" being an inner class of type DataType of "foo",
	and "baz" being an inner class of type DataType of "bar".

and

2) 	"foo" as a Task that implements TaskContainer,
	"bar" being a Task with no execute() method,
	and "baz" being an inner class of type DataType of "bar".

Is it possible to have recursively nested elements for a task and/or
are either of the ways I've tried implementing this on the right track?

Thanks

George Lee
Software Engineer
TruExchange, Inc
http://www.truexchange.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