Resources in external libs

4 views
Skip to first unread message

Kris Massey

unread,
Jan 11, 2016, 12:57:40 PM1/11/16
to grails-jaxrs-discuss
Hi All,

I'm new to the grails jaxrs plugin, while it seems very useful and removes a lot of boiler plate config. I'm having some problems registering some Resources that are in an external Jar (on the class path)

Essentially I have a lib thats included in the grails app that contains a resource, thats annotated with the required @Path etc. I'd like the grails jaxrs plugin to scan a given package on start up and load the resource. Is there any easy way of achieving this? 

I've seen it is possible for providers, but I cant see to find anything (or get it to work from playing around) that does the same for Resource end points.

Any help greatly appreciated! 

Reply all
Reply to author
Forward
0 new messages