ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Sub-element question
Date Wed, 14 Nov 2001 23:43:55 GMT
On Thu, 15 Nov 2001 00:39, Mark Claassen wrote:
> I am trying to write a custom task and I need to have a subelement in it
> like the following example.
>
> <target name = "Task">
> 	<SubSection>
> 		<element1/>
> 		<element2/>
> 		...
> 	</SubSection>
> </target>
>
> This may be more of a dev question, but I was wondering if someone here
> could point me to a good example of how to use this.

Theres a developers guid in ant manual.

Basically it amounts to creating methods of the form

public void addElement1( MyObjectType element1 );

or

public MyObjectType createElement1( );

>
> Thanks for your time,
> Mark
>
>
> ---------------------
> Mark Claassen
> Donnell Systems, Inc.
> 300 S. St. Louis Blvd. Ste. 203
> South Bend, IN 46617
> E-mail: mailto:mark.claassen@donnell.com
> Voice: (219)232-3784
> Fax: (219)232-4014

-- 
Cheers,

Pete

--------------------------------------------------------------
"Science is like sex: sometimes something useful comes out, 
but that is not the reason we are doing it" -- Richard Feynman
--------------------------------------------------------------


--
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