ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <cost...@covalent.net>
Subject Re: Exporting a Project Instance
Date Fri, 22 Mar 2002 15:28:54 GMT
On Fri, 22 Mar 2002, Jose Alberto Fernandez wrote:

> > I don't think its quite that simple.... how would such a framework get
> > attribute values and such to reconstruct the XML?  There are typically no
> > getters on Ant tasks to return back attributes and sub-elements.
> > 
> > And also, keep in mind that an Ant task does not necessarily extend Task....
> > the only requirement to being an Ant task is implementing an execute()
> > method!
> > 
> Very true.
> 
> Notice that if we were to keep the syntactic information arround in RuntimeConfigurable
> like we discussed in the past. Then it would be very easy to do. Since the UnknownElement
> tree is all uninterpreted info.

Yes, and it would also save the original property ( with ${} in it ), not 
the processed one.

( I have a very bad week, I'll commit some code for RuntimeConfigurable in 
proposal as soon as I get free )

Costin


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