I think i have more or less a explanation of the problem..

When the resource service is asked to give a resources subset, the
"System" resources (applicationRoot, webappRoot and others but basically
this 2 ) are hidden and the interpolate method get null when trying to
use the configuration passed as source for that variables.. no idea
about possible fixes .. in the way it's done right now the only
workaroud i see is to not use the same subsetted configuration when
trying to find the interpolation variable.., maybe to store this vars
inside the object (  VariableResources flavour ) in another HAshTable,
or pass around the complete config.. 

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Jason van Zyl [mailto:[EMAIL PROTECTED]]
> Enviado el: domingo 18 de noviembre de 2001 3:52
> Para: Jetspeed Developers List
> Asunto: Re: Troubles testing Turbine 2.2 b2 for l10n
> 
> 
> On 11/17/01 9:17 PM, "Ignacio J. Ortega" <[EMAIL PROTECTED]> wrote:
> 
> > A brief explanation on how this works, and where is broken 
> will be good
> > ;)
> 
> Yes, that would be good. I forgot about the patch. My usual mode of
> operation is to look at a patch and if upon a cursory glance 
> it doesn't look
> right to me it falls by the way side. My fault as I should have looked
> harder at it.
> 
> I probably didn't understand how the variable resources was 
> being used in
> Jetspeed. If you describe again what the problem is I will 
> try to fix it.
> 
> Is this the only problem with the CVS 2.x code? I'm also interested in
> getting Jetspeed working with the latest code, I just always 
> get bogged
> down. Again my apologies.
>  
> > Saludos ,
> > Ignacio J. Ortega
> > 
> > 
> >> -----Mensaje original-----
> >> De: Santiago Gala [mailto:[EMAIL PROTECTED]]
> >> Enviado el: domingo 18 de noviembre de 2001 2:44
> >> Para: Jetspeed Developers List
> >> Asunto: Re: Troubles testing Turbine 2.2 b2 for l10n
> >> 
> >> 
> >> Ignacio J. Ortega wrote:
> >> 
> >>> Hola a todos:
> >>> 
> >>> As seems usual here i'm having troubles trying to got run
> >> working with
> >>> Latest turbine from CVS and jetspeed, as it seems the 
> l10n tool is on
> >>> turbine from more recent date than the actual turbine in lib
> >> dir.., but
> >>> it seems that VAriableResources are not working that is i.e the
> >>> CastorRegistryService does not find the registry.xml 
> file, because it
> >>> use a $(webapp.dir) in the path for the xml file.. anyone
> >> can helpme a
> >>> bit and try to get this working?
> >>> 
> >> I'll send you the patch tomorrow. I don't have it here right now.
> >> 
> >> VariableResources has a problem. I have it patched in my 
> local copy.
> >>  Jason also has the patch for this stuff.
> >> 
> >> 
> >> 
> >> 
> >> --
> >> To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



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


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

Reply via email to