0 Replies Latest reply on Sep 25, 2013 3:22 AM by dinabandhu

    Is there a way to customize deployment content based on container?

    dinabandhu

      Hi,

       

      I want to have different deployment content based on which container adapter is on classpath. For example I want to include a "context.xml" for tomcat or a jboss-deployment-structure.xml for jboss. How do I do that in arquillian?

       

      I went through the documentation but could not find anything on container specific deployment archives (i.e. deployment archives that are processed only when a particular container is on classpath).

      If not directly supported (e.g. via annotations etc), then some kind of a API to query (from my @Deployment method) for active container qualifiers would also be file as I can write conditional code based on qualifier values.

       

      I would appreciate any inputs on this.

       

      Regards,

      Dinabandhu