commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Sell <christian.s...@netcologne.de>
Subject Re: [jelly] bug: executing nested scripts from Ant task
Date Thu, 30 Jan 2003 13:45:57 GMT
Hello,

I recently submitted the report below. Could someone, please comment? 
Should I put this into bugzilla (what project - I did not find an entry 
for Jelly)?

thanks,
Christian

Christian Sell wrote:
> Hello,
> 
> I have a jelly script which imports another one. The outer script is 
> executed from an ANT task through AntTagLibrary. I find that variables 
> which are defined as ANT properties are not passed into the inner 
> script, even though inherit=true (default).
> 
> The reason is that the JellyContex.getVariable(String) method calls 
> parent.*findVariable*(String). However, AntJellyContext only overrides 
> getVariable(String), so it is never called from the inner context.
> 
> Should AntJellyContext override *findVariable* also? It seems 
> questionable to me to have getVariable call findVariable in the first 
> place. Shouldnt that be getVariable again? And what is the distinction 
> between the 2 anyway? I would have provided a patch, if there werent so 
> many questions. James?
> 
> - Christian
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 



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


Mime
View raw message