Developer Documentation

how to launch integrated test

In the settings.xml of maven add the following profiles configuration with values appropriate for your local machine

        <profile>
            <id>OpenESB</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <openesb.home>...</openesb.home>
                <soapui.home>...</soapui.home>
                <maven.repository.home>...</maven.repository.home>
                <ant.home>...</ant.home>
            </properties>
        </profile>
        <profile>
            <id>ServiceMix</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <soapui.home>...</soapui.home>
                <maven.repository.home>...</maven.repository.home>
                <ant.home>...</ant.home>
                <servicemix.home>...</servicemix.home>
            </properties>
        </profile>

Launching tests in ServiceMix

Requirements

Install jacorb-library : copy the shared-library archive inside the Hotdeploy folder under ServiceMix.

Start servicemix

Run all tests

mvn -Dant.home=C:\Programmi\apache-ant-1.7.1 -P ServiceMixTest ,ServiceMix,jacorb clean install from ../corba-bc/integration-test

Run single test

mvn -Dant.home=C:\Programmi\apache-ant-1.7.1 -P ServiceMixSingleTest,ServiceMix,jacorb clean install from ../corba-bc/integration-test/test-provider-simple/

Lauching tests in GlassfishESB

Requirements

Install jacorb-library.

Run all tests

mvn -Dant.home=C:\Programmi\apache-ant-1.7.1 -P OpenESBTest ,OpenESB,sunorb clean install from ../corba-bc/integration-test

Run single test

mvn -Dant.home=C:\Programmi\apache-ant-1.7.1 -P OpenESBSingleTest,OpenESB,sunorb clean install from ../corba-bc/integration-test/test-provider-simple/