Wednesday, 16 June 2010

Pax Runner/Exam: Felix 3.0.0 + Gogo support

Hello,

I've just created Pax Runner/Exam platform definition for just released Felix 3.0.0 and Felix Gogo 0.6.0 (RFC147 implementation).

You can download it from here or  you can use it directly from POM:
<plugin>
    <groupId>org.ops4j</groupId>
    <artifactId>maven-pax-plugin</artifactId>
    <version>1.4</version>
    <configuration>
        <runner>1.4.0</runner>
        <framework>felix</framework>
        <provision>
            <param>--log=debug</param>
            <param>--workingDirectory=target/runner</param>
            <param>--ee=J2SE-1.5</param>
            <param>--definitionURL=http://osgilab.googlecode.com/svn/trunk/org.osgilab.tips/pax-platforms/platform-felix-3.0.0.xml</param>
        </provision>
    </configuration>
</plugin>

or from Pax Exam Unit test:
public class PaxExamTest {
   .......................
   @Configuration
    public static Option[] configurePlatform() {
        return options(
                felix(),
                rawPaxRunnerOption("--definitionURL", "http://osgilab.googlecode.com/svn/trunk/org.osgilab.tips/pax-platforms/platform-felix-3.0.0.xml")
        );
    }
   .......................
}
Best regards, Dmitriy

No comments:

Post a Comment