ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Sub-element question
Date Wed, 14 Nov 2001 13:55:13 GMT
On Wed, 14 Nov 2001, Mark Claassen <mac@donnell.com> wrote:

> I am trying to write a custom task and I need to have a subelement
> in it

See <http://jakarta.apache.org/ant/manual/develop.html> list element 5
in the first section.

> like the following example.
>
> <target name = "Task">
> 	<SubSection>
> 		<element1/>
> 		<element2/>
> 		...
> 	</SubSection>
> </target>

The class corrsponding to SubSection needs methods like

public Foo createElement1()

or

public void addElement2(Bar aBar)

Stefan

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


Mime
View raw message