ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: Embedded dynamic ANT tasks.
Date Wed, 11 Jun 2003 11:24:07 GMT
Connor,

Can you expand on why DynamicConfigurator wasn't an option for
your ScriptBaseDef class? I would love to be able to write scripting
tasks as close as the java as possible, that way one could use
scripting for prototyping and eventualy move it into classes
once the task is defined enough. (I am assuming BSH here).

Do you provide a "src" attribute on <scriptdef/> so that the code
can be on a file? That could be good for large code.

Great stuff,

Jose Alberto

> -----Original Message-----
> From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
> Sent: 09 June 2003 15:40
> To: Ant Developers List
> Subject: Re: Embedded dynamic ANT tasks.
> 
> 
> On Mon, 9 Jun 2003 08:42 pm, Jose Alberto Fernandez wrote:
> > You could do the following, which will require no changes to code:
> >
> 
> Funnily enough, this approach is pretty close to what I was 
> working on for 
> <scriptdef>. It doesn't use DynamicConfigurator, however, as 
> that doesn't 
> really allow for deferred creation of nested elements.
> 
> > The only problem with this solution is that the 
> implementation needs to
> > provide its own symbol-table which may be problematic when 
> using <import/>
> > and <ant/>. It would be nicer if ANT were willing to manage 
> this kind of
> > use symbol-table as some sort of generic service.
> 
> <ant/>, <import/> may indeed be problems. I'm not sure yet - 
> I want to see how 
> that works out and do some more testing. What sort of generic 
> service do you 
> have in mind?
> 
> Conor
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message