Search in sources :

Example 1 with BaseHome

use of org.eclipse.jetty.start.BaseHome in project jetty.project by eclipse.

the class MavenLocalRepoFileInitializerTest method setupBaseHome.

@Before
public void setupBaseHome() throws IOException {
    Path homeDir = testdir.getEmptyPathDir();
    ConfigSources config = new ConfigSources();
    config.add(new JettyHomeConfigSource(homeDir));
    config.add(new JettyBaseConfigSource(homeDir));
    this.baseHome = new BaseHome(config);
}
Also used : Path(java.nio.file.Path) JettyBaseConfigSource(org.eclipse.jetty.start.config.JettyBaseConfigSource) BaseHome(org.eclipse.jetty.start.BaseHome) JettyHomeConfigSource(org.eclipse.jetty.start.config.JettyHomeConfigSource) ConfigSources(org.eclipse.jetty.start.config.ConfigSources) Before(org.junit.Before)

Aggregations

Path (java.nio.file.Path)1 BaseHome (org.eclipse.jetty.start.BaseHome)1 ConfigSources (org.eclipse.jetty.start.config.ConfigSources)1 JettyBaseConfigSource (org.eclipse.jetty.start.config.JettyBaseConfigSource)1 JettyHomeConfigSource (org.eclipse.jetty.start.config.JettyHomeConfigSource)1 Before (org.junit.Before)1