The qa directory is not the unit tests: those are within the standard src tree (product). The qa directory is for running some basic QA tests.
So first question: do you want to run the unit tests, or do you want to run the qa?
I want to run unit tests. So if I only want to run unit tests, I don't even need to deploy the distribution to an app server nor need to start my app server? I can just "ant dist" to create the distribution and "ant test" from the product folder to execute the unit tests? So these unit tests will just ensure the correct building of my distribution, right? If I want to test if my JBoss ESB server is running correctly, how? run QA test? Can you explain what of these basic QA tests the qa folder will do?
Hope I don't confuse you :)...I also posted another related question....
If you wish to target another server then you need to update the product.properties within the product directory.