JBoss Community

Re: Implementing a non-flat deployment for Weld Integration

created by Flavia Rainone in JBoss Microcontainer Development POJO Server - View the full discussion

Ales, your lib scanning code works like a charm :-)

 

The only piece that was missing is to uncomment the injection of libArchiveProvider into ClasspathFactory:

<bean name="WeldClasspathFactory" class="org.jboss.weld.integration.deployer.env.bda.ClasspathFactory">
      <constructor factoryMethod="getInstance" />
      <property name="system"><inject bean="ClassLoaderSystem"/></property>
      <!-- Disable until we fix the loop -->
      <!-- property name=libArchivesProvider><inject bean="LibsDiscoveryService"/></property -->
   </bean>

 

The fix is committed to JBoss AS trunk.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development POJO Server at Community