[jboss-dev] How can a project run in both AS 4.2.0 and AS 5.0?

Dimitris Andreadis dandread at redhat.com
Thu Jul 19 10:48:03 EDT 2007


I don't think you can (or should) avoid test runs for the different runtimes (AS 4.2/5.0), 
no matter how much time they take. Otherwise how we know it works? If QA needs more 
machines, then so be it.

The real issue is to have as much as possible a single codebase. JBossWS uses a common 
"core" and different integration layers depending on the runtime (as40, as42, as50).

Tim Fox wrote:
> A posted something similar on this some time ago, but we didn't get to 
> any conclusions so I'm bringing it up again.
> 
> JBoss Messaging has all its dependencies aligned with JBAS 4.2.0 - i.e. 
> we use all the same versons of libraries as AS 4.2.0.
> 
> This means all the testing we did is valid when we install inside AS 
> 4.2.0 since we know we're still using all the same libraries.
> 
> However, JBAS 5.0 uses different versions of libraries to AS 4.2.0 - so 
> we can't guarantee that the version of our project that runs in 4.2 will 
> run in AS 5.0 - since we don't test against the versions of the 
> libraries used by AS 5.0.
> 
> The only way around this AFAICT is for us to keep two versions of JBM 
> (or at least to have two sets of dependencie)- one with a set of 
> dependencies mirroring AS 4.2.0, and another with a set of dependencies 
> mirroring AS 5.0.
> 
> But this is a big maintenance hassle - and will mean double the test 
> runs. Our test runs already take forever.
> 
> How do other projects deal with this? Surely we are not the only ones.
> 
> Or perhaps other projects don't worry about it and "hope for the best" 
> when installed in AS 5.0?
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development



More information about the jboss-development mailing list