1 Reply Latest reply on May 8, 2014 7:56 AM by bmajsak

    Improving readability of arquillian.xml file

    asotobu

      Hello,

       

      today I have been thinking about arquillian.xml file and although in general I find it a really good file, there is one thing that I think that it is a bit verbose, and it is when you set confiugration properties:

       

      <container qualifier="tomee" default="true">
        <configuration>
        <property name="httpPort">-1</property>
        <property name="stopPort">-1</property>
        </configuration>
      </container>
      

       

      I think that may be an improvement to allow users use the Apache TomEE configuration approach which is mixing the best of xml and properties files, so the previous configuration would be:

       

      <container qualifier="tomee" default="true">
        <configuration>
        httpPort -1
        stopPort -1
        </configuration>
      </container>
      

       

      or also valid

       

      <container qualifier="tomee" default="true">
        <configuration>
        httpPort=-1
        stopPort=-1
        </configuration>
      </container>
      

       

      I think that it is less verbose and more readable for developers. I can implement this change if all of you agree but of course always maintaining back compatibility.

       

      What do you think?

       

       

      Alex.