2 Replies Latest reply on Sep 7, 2011 4:59 PM by jjfraney

    services file name changes from Alpha5?

    jjfraney

      I am combining JSFUnit 2.0.0-SNAPSHOT with arquillian 1.0.0.CR4 and arquillian-container-jbossas 1.0.0.CR2 (there is no CR4).

       

      However, JSFUnit 2.0.0-SNAPSHOT was built and runs with arquillian 1.0.0.Alpha5, and it source code hasn't been coming along with arquillian.

       

      One area for upgrade which I've discovered would be the JSFUnit's META-INF/services files.

       

      JSFUnit uses these names:

       

      META-INF/services/org.jboss.arquillian.spi.client.deployment.AuxiliaryArchiveAppender

      META-INF/services/org.jboss.arquillian.spi.client.deployment.ApplicationArchiveProcessor

      META-INF/services/org.jboss.arquillian.spi.client.deployment.ProtocolArchiveProcessor

       

       

      But I don't think they are found by arquillian.  I think arquillian would find them in a different package:

       

      META-INF/services/org.jboss.arquillian.container.test.spi.client.deployment.AuxiliaryArchiveAppender

      META-INF/services/org.jboss.arquillian.container.test.spi.client.deployment.ApplicationArchiveProcessor

      META-INF/services/org.jboss.arquillian.container.test.spi.client.deployment.ProtocolArchiveProcessor

       

      Is there a way I can workaround this with arquillian without a code change to JSFUnit?

       

      I expected to put these files, same content as jsfunit, in my test classpath, but it doesn't seem to be working.  I set debug break points in the jsfunit classes named in the files, and they don't get triggered.