[Yanel-dev] org.wyona.yarep.impl.repo.vfs.VirtualFileSystemRepository#getNode(java.lang.String) question

Claudio Corrodi claudio.corrodi at wyona.com
Tue Sep 14 10:26:27 CEST 2010


Hi Michael,

Attached is the patch for AbstractNode.java as discussed before. Thanks =

for your help and reviewing it.

Cheers, Claudio

On 09/05/2010 12:21 AM, Michael Wechner wrote:
> Dear Claudio
>
> I have reviewed your patch, but to be honest it is still not clear to me
> what the actual issue is
> and how your patch is supposed to solve this issue without creating
> other issues.
>
> I think according to your very first email we rather have to fix
>
> String childPath =3D getPath() + "/" + name;
>
> within AbstractNode by checking if getPath().equals("/") and if true,
> then not
> append the slash, such that one does not end up with
> "//hello_world.txt", but rather with "/hello_world.txt".
>
> Makes sense?
>
> Cheers
>
> Michael
>
>
> Claudio Corrodi wrote:
>> On 08/31/2010 10:34 AM, Michael Wechner wrote:
>>> Can you send the complete example to this mailing list, I mean your
>>> spliting configuration for this example?
>>
>> It is as follows:
>>
>> <splitpath depth=3D"2" length=3D"3" escape=3D"+">
>> <include path=3D"/assets/"/>
>> </splitpath>
>>
>> But I also tested using this configuration
>>
>> <splitpath depth=3D"2" length=3D"3" escape=3D"+">
>> <include path=3D"/"/>
>> </splitpath>
>>
>> where every file is splitted, not only those under /.
>>
>> Cheers, Claudio
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: abstractnode.patch
Type: text/x-diff
Size: 1167 bytes
Desc: not available
Url : http://lists.wyona.org/pipermail/yanel-development/attachments/201009=
14/3ef4785b/abstractnode.bin


More information about the Yanel-development mailing list