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:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to