/*
 * The MIT License
 *
 * Copyright 2016 Thibault Debatty.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package aptgraph.server;

import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.DefaultHandler;
import org.eclipse.jetty.server.handler.HandlerList;
import org.eclipse.jetty.server.handler.ResourceHandler;

/**
 *
 * @author Thibault Debatty
 */
public class FileServer {

    /**
     * Start the file server (blocking).
     *
     * @throws Exception if server cannot start
     */
    public final void start() throws Exception {
        Server server = new Server(8000);

        ResourceHandler resource_handler = new ResourceHandler();
        resource_handler.setDirectoriesListed(true);
        resource_handler.setWelcomeFiles(new String[]{"index.html"});
        resource_handler.setResourceBase("../website");

        HandlerList handlers = new HandlerList();
        handlers.setHandlers(
                new Handler[]{
                    resource_handler,
                    new DefaultHandler()});
        server.setHandler(handlers);

        server.start();
    }
}

@@ -1159,16 +1159,49 @@
 erver;%0A%0A
+import java.util.logging.Logger;%0A
 import o
@@ -1225,32 +1225,32 @@
 server.Handler;%0A
-
 import org.eclip
@@ -1506,16 +1506,116 @@
 rver %7B%0A%0A
+    private static final Logger LOGGER%0A            = Logger.getLogger(FileServer.class.getName());%0A%0A
     /**%0A
@@ -1718,16 +1718,16 @@
      */%0A
-
     publ
@@ -1767,16 +1767,89 @@
 ption %7B%0A
+        LOGGER.info(%22Starting web interface at http://localhost:8000%22);%0A%0A
         

Add some log info