3 Replies Latest reply on Feb 17, 2011 8:35 AM by craiggreenhalgh

    Can you use environment variables in arquillian.xml ?

    craiggreenhalgh

      Can you use environment variables in arquillian.xml ?

       

      I would like to overide JBOSS_HOME, my problem is that I dont want have to specify an system path as this could change between systems.

       

      Is it possible to set say <jbossHome>${env.JBOSS_HOME_6}</jbossHome>, picking up the enviroment var JBOSS_HOME_6.

       

      I could then use the same arquillian.xml for different versions of Jboss and just use different env vars JBOSS_HOME_5, JBOSS_HOME_6, JBOSS_HOME_X_SNAP etc

       

      I would then define these of the local machines and my hudson would just work seamlessly

       

      Any thoughts welcome

       

      Thanks

       

      Craig