[Yanel-usage] BasicXMLResource package

Michael Wechner michael.wechner at wyona.com
Wed Jul 6 09:20:45 CEST 2011


Am 05.07.11 16:06, schrieb Bettina Messmer:
> Hi,
>
> Thanks a lot it works now :D. This actually means I can compile now my class. The Problem I have no is, that yane can't find the resource anymore (page not found 404). I don't understand what extending another class changes the configuration.
>
> First exceptionin in Log-File:
>
> 400871 2011-07-05 15:57:40,901 +0200 [http-8080-Processor23] WARN  org.wyona.yanel.servlet.YanelServlet.getContent():557  - No such node: /de/my_folder/uploadleft.html (Repository: Repository: ID = my_realm, Configuration-File = C:\Users\Gast\Desktop\yanel-realm\config\vfs-data-repository.xml, Name = my_realm)


see for example how the XML Resource is overwriting the BasicXMLResource

src/resources/xml/resource.xml

and in particular the note about the "yanel-path" property.

Also have a look at the exist method inside

src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java

and consider overwriting it.

HTH

Michael


> thanks,
>
> Bettina
>
> -------- Original-Nachricht --------
>> Datum: Tue, 05 Jul 2011 14:23:42 +0200
>> Von: Michael Wechner<michael.wechner at wyona.com>
>> An: yanel-usage at wyona.com
>> Betreff: Re: [Yanel-usage] BasicXMLResource package
>> Am 05.07.11 14:05, schrieb Bettina Messmer:
>>> Hi,
>>>
>>> I want to export the BasicXMLResource package.
>>>
>>> That's why I've chosen
>>>
>>> import org.wyona.yanel.impl.resources.BasicXMLResource;
>>>
>>> can anybody help me to choose the right package?
>> see for example
>>
>> src/resources/xml/src/build/dependencies.xml
>>
>> <!-- Necessary because of BasicXMLResource class -->
>> <dependency groupId="wyona-org-yanel" artifactId="yanel-impl"
>> version="${yanel.source.version}"/>
>>
>> HTH
>>
>> Michael
>>> thanks and greets,
>>>
>>> Bettina
>> -- 
>> Yanel-usage mailing list Yanel-usage at wyona.com
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage



More information about the Yanel-usage mailing list