[Yanel-dev] yarep defaultmapimpl
Michael Wechner
michael.wechner at wyona.com
Sat Dec 30 23:26:34 CET 2006
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 ;-)
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
Cheers
Michi
>
> simon
>
>
>>
>> Cheers
>>
>> Michi
>>
>>>
>>> simon
>>>
>>>
>>
>>
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list