ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Claassen <...@donnell.com>
Subject RE: Sub-element question
Date Thu, 15 Nov 2001 13:25:19 GMT
Thanks for everyone's help on this.  I really appreciate the feedback!

Mark

> -----Original Message-----
> From: Peter Donald [mailto:donaldp@apache.org]
> Sent: Wednesday, November 14, 2001 6:44 PM
> To: Ant Users List
> Subject: Re: Sub-element question
> 
> 
> 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>
> 


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