[jboss-dev-forums] [Design of JBoss Build System] - Enabling Cross Version Testing in JBossAS

ryan.campbell@jboss.com do-not-reply at jboss.com
Fri Aug 18 14:55:56 EDT 2006


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:

       

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.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966141#3966141

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966141



More information about the jboss-dev-forums mailing list