4041424344454647
public class StandaloneLauncher { private Launcher launcher; public StandaloneLauncher(File repository) { this.launcher = new Launcher(repository); launcher.start(); }
40414243444546
} public void setUp() throws URISyntaxException { URL propsURL = getClass().getClassLoader().getResource("repo/tuscany.properties"); repo = new File(propsURL.toURI()).getParentFile(); launcher = new Launcher(repo); }
868788899091929394
Wrapper wrapper = new TuscanyWrapper(s); wrapper.setName("TuscanyServlet"); tc.addChild(wrapper); tc.addServletMapping("/*", "TuscanyServlet", true); Launcher launcher = new Launcher(new File(REPO)); return launcher; }