Re: Lazy concatenation of strings and Ant

Steve Loughran <[email protected]> Sun, 02 Apr 2006 21:18:49 +0100
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <[email protected]>
Guijarro, Julio wrote:
> Hi Hal,
> 
>  
> 
> The ANT component did not check for attribute values using SmartFrog 
> reference and it was adding then directly to the Ant tasks without 
> trying to resolve them first and that is the reason for the class cast 
> exception. I have fixed the ANT component in CVS.
> 
>  
> 
> In your example there was another potential problem because the 
> LoadPropertyFile component was creating the sf attributes during sfStart 
> instead of sfDeploy. I have also fixed this component in CVS and it now 
> gets ready to be used/queried during sfDeploy.
> 
>  

That assumes that sfDeploy is the right place for the property file to 
be loaded. I could construct use cases in which sfStart() was the right 
place to do the work, such as any workflow-like situation in which one 
thing generated a property file that another thing then read. It should 
really be a switch readOnDeploy or something.,

-S.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642