Package com.ponysdk.core.main

Examples of com.ponysdk.core.main.Main


            final BootstrapServlet bootstrapServlet = new BootstrapServlet();
            bootstrapServlet.addStylesheet("css/sample.less");
            bootstrapServlet.addStylesheet("css/ponysdk.less");
            bootstrapServlet.addJavascript("script/less.js");

            final Main main = new Main();
            main.setApplicationContextName("trading");
            main.setPort(8081);
            main.setHttpServlet(httpServlet);
            main.setHttpSessionListener(applicationLoader);
            main.setServletContextListener(applicationLoader);
            main.setBootstrapServlet(bootstrapServlet);
            main.start();
        } catch (final Exception e) {
            log.error("", e);
        }
    }
View Full Code Here


    @BeforeClass
    public static void runBeforeClass() throws Throwable {

        log.info("Starting jetty webserver");
        final Main main = new Main();
        main.setApplicationContextName("test");
        main.setPort(5000);
        main.setWar("src-core/test/resources/war");
        main.start();

        final Properties testProperties = loadProperties();

        try {
            webDriver = buildWebDriver(testProperties);
View Full Code Here

TOP

Related Classes of com.ponysdk.core.main.Main

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.