Using Pax Runner profiles

Using Pax Runner profiles

Unknown macro: {scrollbar}

You can take advantage of Pax Runner Profiles by using related profiles options.

Plain profile name

        return options(
            profile( "config" )
        );

Configuration Admin profile

        return options(
            configProfile()
        );

Log Service profile

        return options(
            logProfile()
        );

Dynamic Services profile

        return options(
            dsProfile()
        );

Web profile

        return options(
            webProfile()
        );

Specify profile version

In the above examples the version of the specified profiles will be determined at runtime and will be that latest one supported by Pax Runner.
Starting with Pax Exam - 0.5.0 you can specify the version of the profile, if that is of your interest. To do so you can use the version() methods available with any of the profile related options as in the following example:

        return options(
            profile( "config" ).version( "1.0.0" ),
            webProfile().version( "0.6.0" )
        );