[Yanel-dev] yarep defaultmapimpl
simon litwan
simon.litwan at wyona.com
Fri Jan 5 13:35:03 CET 2007
Michael Wechner schrieb:
> simon litwan wrote:
>
>> Michael Wechner schrieb:
>>
>>> simon litwan wrote:
>>>
>>>> hi all
>>>>
>>>> IIUC the defaultmapimpl of yarep doesn't care about the fallback. is
>>>> that on purpose or a bug?
>>>
>>>
>>>
>>> fallback means that the path is being passed "directly" to the storage
>>> (within src/core/java/org/wyona/yarep/core/Repository.java)
>>>
>>> and hence the map implementations do not know have to know about it.
>>>
>>> As Josias once pointed out (and I agree ;-) "fallback" can lead to
>>> problems
>>> (e.g. getChildren()) and maybe we should consider to remove this
>>> feature.
>>
>> not just get children, also isResource and isCollection.
>>
>> my problem now is that that ant writtes testresults (./build.sh test)
>> into the tesresults archive and ant does not know anything about yarep
>> hence no data-path are created. now this files are not accessible for
>> the above mentioned methodes.
>>
>> does that mean yanel will not be able to share the storage with other
>> apps?
>
>
> sure it does, resp. this is exactly what Yanel/Yarep are made for ;-)
thanks for clarifying this :)
>
> At the moment I see two possibilities
>
> - Either write your own yarep implementation for the test realm
> - Or write an AntTask using Yarep in order to initialize everything
> properly
i thought about the second way allready (would not be to hard) but i
think the first way would be a good example. it's not possible for every
application to be modiefied to use yarep. so i think a yarep
implementation which uses just the filesystem would be nice.
WDOT?
simon
>
> Cheers
>
> Michi
>
>>
>> simon
>>
>>
>>>
>>> Cheers
>>>
>>> Michi
>>>
>>>>
>>>> simon
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
Simon Litwan simon.litwan at wyona.com
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
More information about the Yanel-development
mailing list