1 Reply Latest reply on Dec 9, 2011 9:15 AM by Mickaël Leduque

    arquillian.xml ignored ?

    Mickaël Leduque Newbie

      Hello,

      I'm setting up tests in a jetty7 (7.5.4 actually) container.

      I was try to debug a library incompatibility in the packaged WAR (the usual suspects, logging libraries), so I tried to add the deploymentExportPath configuration property.

       

      {code}<?xml version="1.0" encoding="UTF-8"?>

      <arquillian xmlns="http://jboss.org/schema/arquillian"

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

       

          <engine>

              <property name="deploymentExportPath">target</property>

          </engine>

       

          <container qualifier="jetty" default="true">

          </container>

      </arquillian>{code}

       

      But this doesn't work. The archive is never written.

       

      After many trials, I finally got the impression my arquillian.cml (directly in src/test/resources) is maybe read but not actually used. If I delete it, there is absolutely no difference in the execution of the test (i.e. it fails at the same point, no change).

       

      Is there anywhere a detailed documentation on the exact syntax of this configuraiton file ?

      I of course can find many examples, but I can't seem to find the authoritative documentation.