use of runwar.options.ServerOptionsImpl in project runwar by cfmlprojects.
the class StartStopTest method testAliasMapProcessed.
@Test
public void testAliasMapProcessed() {
ServerOptions serverOptions = new ServerOptionsImpl();
serverOptions.setWarFile(new File(DefaultServer.SIMPLEWARPATH)).setDebug(true).setBackground(false).setTrayEnabled(false);
Server server = new Server();
try {
server.startServer(serverOptions);
} catch (Exception e) {
e.printStackTrace();
}
try {
Stop.stopServer(serverOptions, false);
} catch (Exception e) {
e.printStackTrace();
}
}
Aggregations