On 9/21/01 11:06 AM, "Santiago Gala" <[EMAIL PROTECTED]> wrote:
> Jason van Zyl wrote:
>
>> Hi,
>>
>> I've added ${variable} interpolation to the ExtendedProperties class so
>> if you want to take advantage of this feature you'll have to update
>> your commons-collections jar. This is for turbine 3.x. The variable
>> interpolation now works in 2.x but the ResourcesService was modified
>> directly.
>>
> Since you changed it (or maybe other changes in turbine-2 HEAD) jetspeed
> no longer works. It builds, but all services that need this feature
> receive empty strings. It seems related to a problem with the ordering
> of service initialization, where the ${webappRoot}/${webapp.dir} vars
> are not defined when we are trying to use them.
I just built jetspeed but didn't run it. I will try to find the problem
ASAP. This is definitely a result of a lack of API and the oddness in which
jetspeed has extended certain parts of Turbine.
I'll look into it and find the problem. I think I know what the problem is.
> Are you aware of such problem?
I wasn't aware of the problem, but I am making many changes to the TDK so
that I can build all turbine applications to check for compatibility
problems during runtime. Gump will catch problems in the build but what is
happening with jetspeed is what I dread. People digging into the code
anywhere and everywhere to get something to work.
The variable interpolation is something that could have easily been added to
the Turbine codebase but was instead added directly to jetspeed. I am using
the code from jetspeed in the ResourceService in the turbine 2 repository so
I should be able find it fairly soon.
I would like to slowly try to align jetspeed with the code in Turbine
because I'm not seeing much activity at all in jetspeed so the project would
benefit from any and all removal/collapsing of code where there is an
alternative in the turbine code base.
I will soon be able to build and run jetspeed with the TDK and will be able
to find problems like this. I still find the jetspeed layout entirely
confusing and have only been able to get it to run on a few occasions. I
would like to eliminate this problem.
> Jetspeed works with current snapshot
> (nightly Sep 12). The change breaking us has taken place between Sep 13
> and today.
>
> I'm not able to understand what's going on.
>
>>
>>
>> The upshot is that you can specify things like:
>>
>> myResouce = ${webappRoot}/resources/myResouce.xml
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]