Yes, alias is pax-web specific.
It's just to try.
Regards
JB
On 25/06/2019 15:56, ntle wrote:
> Thank you JB,
>
> I don't see any alias property in http whiteboard spec. can i just add like
> below:
>
> @Component(service = IconsResourceService.class,
> enabled=true,
> property = {
> "alias=/home/icons/*", <----is this correct?
> "osgi.http.whiteboard.resource.pattern=/icons/*",
> "osgi.http.whiteboard.resource.prefix=/icons",
>
> "osgi.http.whiteboard.context.select=(osgi.http.whiteboard.context.name=HomeServletContextHelper)"
> }
> )
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com