1 Reply Latest reply on Aug 18, 2006 2:57 PM by ryan.campbell

    Enabling Cross Version Testing in JBossAS

    ryan.campbell Expert

      We need to test various components inside of legacy releases of JBossAS, like JBossCache, JBossWS, etc. Right now, this involves either modifying the build-thirdparty.xml to update the version, or replacing the binaries ?by hand.?

      I?d like to be able to override a version using a property, so that I can do something like this:

      ./build.sh ?propfile myversion.properties most

      where myversion.properties is:

      jgroups.version=2.2.9.1
      jboss/cache.version=1.4.0.SP1
      

      The solution is to externalize the versions from the current build-thirdparty.xml so that instead of:
       <componentref name="jboss/cache"
       version="1.2.3.1" />
      

      You would have:

       <componentref name="jboss/cache"
       version="${jboss/cache.version}" />
      

      and a thirdparty-versions.properties which would have a bunch of:

      jboss/cache.version=1.2.3.1


      This is the most natural solution and it would be functionally equivalent to the one we have today.