ScriptResolver resolver = new BasicScriptResolver(
config.getBasedir(),
config.getSources(),
config.getSpecs(),
config.getPreloadSources());
resolver = new ContextPathScriptResolver(
resolver,
config.getSrcDirectoryName(),
config.getSpecDirectoryName());
SpecRunnerHtmlGenerator generator = new SpecRunnerHtmlGeneratorFactory().create(this.reporterType, this.config, resolver);