I will create a use case as I'm not sure that it work. BTW, the scan should
be done here not only by Pax Web but also by Pax CDI. This is perhaps my
issue as there is a Servlet within the project and also CDI Annotated
classes into the jar files packaged under the WEB-INF/lib directory

On Wed, Feb 3, 2016 at 7:32 PM, Achim Nierbeck <bcanh...@googlemail.com>
wrote:

> Hi,
>
> I wouldn't know why it shouldn't work.
> Pax-Web scans transitive for jsps and tlds in the classpath.
> AFAIRC this is also done for bean.xml's
>
> regards, Achim
>
>
> 2016-02-03 19:25 GMT+01:00 Charles Moulliard <ch0...@gmail.com>:
>
>> Hi,
>>
>> Can Pax CDI scans a bundle packaged as a WAB where the WEB-INF/lib folder
>> contains the jar files to be scanned ?
>>
>> The Bundle-ClassPath of the manifest file includes the jar files
>>
>> Bundle-ClassPath: WEB-INF/classes,.,WEB-INF/lib/annotations-2.0.1.jar,WE
>>  B-INF/lib/apiman-common-config-1.2.2-SNAPSHOT.jar,WEB-INF/lib/apiman-co
>>  mmon-plugin-1.2.2-SNAPSHOT.jar, ....
>>
>> Require-Capability: org.ops4j.pax.cdi.extension;filter:="(&(extension=pa
>>  x-cdi-extension)(version>=0.11)(!(version>=0.12)))",osgi.extender;filte
>>  r:="(osgi.extender=pax.cdi)",osgi.ee;filter:="(&(osgi.ee=JavaSE)(versio
>>  n=1.6))"
>> Web-ContextPath: /gateway
>>
>> Regards,
>>
>> --
>> Charles Moulliard
>> Apache Committer & PMC / Architect @RedHat
>> Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io
>>
>>
>
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master
>
>


-- 
Charles Moulliard
Apache Committer & PMC / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Reply via email to