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

Adrian abrock at redhat.com
Thu Jul 19 11:27:49 EDT 2007


On Thu, 2007-07-19 at 16:08 +0100, Tim Fox wrote:
> The issue is really just that we test against version X of aop, version 
> Y of jgroups, version Z of core libs since that is what AS 4.2 uses, so 
> our tests are only valid with those versions.

You're talking about integration testing.

That's not your problem, that's a problem for the AS 
integration testsuite.

It's only your problem if your doing the integration of
JBoss Messaging version X into JBossAS version Y.

You run the integration tests and if they don't pass,
you don't commit.

What is your problem is those integration tests fail
because JGroups version A doesn't work 
like JGroups version B because you used something that
either wasn't meant to be used that way or that wasn't 
regression tested for the way you use it.

It's only by solving the second problem
(clean and tested integration between individual projects) 
that the first problem 
(JBossAS can pick and choose which versions of projects
it wants to integrate) doesn't become an N^2 problem.

You've still got to run two integration tests,
jboss-4.2.x and jboss-5.x, regardless.
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list