Package org.ops4j.pax.exam.options

Examples of org.ops4j.pax.exam.options.DefaultCompositeOption


    return apamObrmanConfig;
  }

  protected CompositeOption packApamCore() {

    CompositeOption apamCoreConfig = new DefaultCompositeOption(
        mavenBundle().groupId("fr.imag.adele.apam")
            .artifactId("apam-bundle").versionAsInProject(),
        mavenBundle("fr.imag.adele.apam.tests", "apam-helpers")
            .versionAsInProject());
View Full Code Here


    return apamCoreConfig;
  }

  protected CompositeOption packApamDistriMan() {
    CompositeOption apamObrmanConfig = new DefaultCompositeOption(
        // version as in project
        // org.ops4j.pax.exam.CoreOptions
        // .repositories(
        // "http://repo.maven.apache.org/maven2/",
        // "https://maven.java.net/content/repositories/releases/",
View Full Code Here

    return apamObrmanConfig;
  }

  protected CompositeOption packApamObrMan() {
    CompositeOption apamObrmanConfig = new DefaultCompositeOption(
        mavenBundle().groupId("fr.imag.adele.apam")
            .artifactId("obrman").versionAsInProject());

    return apamObrmanConfig;
  }
View Full Code Here

    return apamObrmanConfig;
  }

  protected CompositeOption packApamShell() {
    CompositeOption logConfig = new DefaultCompositeOption(
        mavenBundle("fr.imag.adele.apam", "apam-universal-shell")
            .versionAsInProject(),
        mavenBundle("org.apache.felix", "org.apache.felix.gogo.command")
            .version("0.12.0"),
        mavenBundle("org.apache.felix", "org.apache.felix.gogo.runtime")
View Full Code Here

    return logConfig;
  }

  protected CompositeOption packAppForTestBundles() {

    CompositeOption testAppBundle = new DefaultCompositeOption(mavenBundle(
        "fr.imag.adele.apam.tests", "apam-helpers")
        .versionAsInProject(),

    mavenBundle("fr.imag.adele.apam.tests.obrman.app1.private",
        "APP1-MainImpl").versionAsInProject(),
View Full Code Here

  }

  protected CompositeOption packAppForTestBundles(String groupID,
      String artifactID) {

    CompositeOption testAppBundle = new DefaultCompositeOption(mavenBundle(
        "fr.imag.adele.apam.tests", "apam-helpers")
        .versionAsInProject(),

    mavenBundle(groupID, artifactID).versionAsInProject());
View Full Code Here

    return testAppBundle;

  }

  protected CompositeOption packDebugConfiguration() {
    CompositeOption debugConfig = new DefaultCompositeOption(
        when(isDebugModeOn())
            .useOptions(
                vmOption(String
                    .format("-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%d",
                        Constants.CONST_DEBUG_PORT)),
View Full Code Here

    String logpath = "file:" + PathUtils.getBaseDir() + "/log/logback.xml";
    //File log = new File(logpath);
//
//    boolean includeLog = log.exists() && log.isFile();

    CompositeOption initial = new DefaultCompositeOption(
        vmOption("-XX:+UnlockDiagnosticVMOptions"),
        vmOption("-XX:+UnsyncloadClass"),
        frameworkProperty(
        "org.osgi.service.http.port").value("8280"), cleanCaches(),
        systemProperty("logback.configurationFile").value(logpath),
View Full Code Here

    return initial;
  }

  protected CompositeOption packLog() {
    CompositeOption logConfig = new DefaultCompositeOption(mavenBundle(
        "ch.qos.logback", "logback-core").versionAsInProject(),
        mavenBundle("ch.qos.logback", "logback-classic")
            .versionAsInProject(), mavenBundle("org.slf4j",
            "slf4j-api").versionAsInProject(), mavenBundle(
            "org.apache.felix", "org.apache.felix.log").version(
View Full Code Here

    return logConfig;
  }

  protected CompositeOption packOSGi() {
    CompositeOption osgiConfig = new DefaultCompositeOption(mavenBundle()
        .groupId("org.apache.felix")
        .artifactId("org.apache.felix.ipojo").versionAsInProject(),
        mavenBundle().groupId("org.ow2.chameleon.testing")
            .artifactId("osgi-helpers").versionAsInProject(),
        mavenBundle().groupId("org.osgi")
View Full Code Here

TOP

Related Classes of org.ops4j.pax.exam.options.DefaultCompositeOption

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.