[Yanel-dev] Use Resource-Type
Michael Wechner
michael.wechner at wyona.com
Wed May 25 10:12:16 EDT 2016
Hi Balz
I just added the pom file and pushed the change inside the master branch.
You will have to rebuild Yanel, but then it should become available at
.m2/repository/wyona-org-yanel/yanel-resource-node
All the best
Michael
Am 25.05.16 um 13:55 schrieb basZero:
> Hi Michael,
>
> I'd love to have that so that I can delete the "copy" of the whole
> Java Class in my realm and just reuse the yanel resource.
>
> Let me know when you did the commit.
>
> Many thanks!
>
> On Wed, May 25, 2016 at 1:37 PM, Michael Wechner
> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
> 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
>>>
>>>
>>
>>
>>
>
>
> --
> Yanel-development mailing list Yanel-development at wyona.com
> <mailto:Yanel-development at wyona.com>
> http://mx2.wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mx2.wyona.com/pipermail/yanel-development/attachments/20160525/7f865ed3/attachment.html>
More information about the Yanel-development
mailing list