[Yanel-dev] Use Resource-Type

Michael Wechner michael.wechner at wyona.com
Wed May 25 07:37:04 EDT 2016


Hi Balz

It comes to my mind, that if you want to extend the file/node resource

src/resources/file

then we have to make this first available by introducing a pom file,
like for example

src/resources/xml/src/build/pom.xml

Let me know and I will be happy to do so.

All the best

Michael

Am 25.05.16 um 13:35 schrieb Michael Wechner:
> Hi Balz
>
> I guess you have your own resource into your realm, right?
>
> If so, then please see for example
> YANEL_HOME/src/realms/welcome-admin/resource-types.xml
>
> And if you want to extend your resource from another resource, then
> you need to make it available via for example
>
> src/realms/welcome-admin/yanel/resources/update-webapp/src/build/dependencies.xml
>
> HTH
>
> Michael
>
> Am 24.05.16 um 15:10 schrieb basZero:
>> Hi,
>>
>> I want to subclass the NodeResource.java of Yanel, which is a resource.
>>
>> So according to the docu
>> http://www.yanel.org/en/documentation/resources/using-a-resource-type.html
>>
>> I added the dependency to my resource-types.xml (I tried at least 4
>> variations).
>>
>> When I do the ./build.sh quick-start , it complains in my subclassed
>> resource class that the NodeResource would be an unknown symbol.
>>
>> What am I missing? 
>>
>> Cheers
>>
>>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mx2.wyona.com/pipermail/yanel-development/attachments/20160525/35dfc673/attachment.html>


More information about the Yanel-development mailing list