private void run(String[] arguments) throws Exception {

        if(isHelpRequested(arguments)) {
            usage();
        }

        validateArguments(arguments);

        checkTemporaryDirectory(arguments);


        addShutdownHook();

        File war = getWarLocation();

        File tempDirectory = createTempDirectory(war.getName(), getPort(arguments));

        cl = createClassLoader(war, tempDirectory);

        Thread.currentThread().setContextClassLoader(cl);

        startJettyConsole(cl, arguments, tempDirectory);
    }
private void run ( String [ ] arguments ) throws Exception { if ( isHelpRequested ( arguments ) ) { usage ( ) ; } validateArguments ( arguments ) ; checkTemporaryDirectory ( arguments ) ; addShutdownHook ( ) ; File war = getWarLocation ( ) ; File tempDirectory = createTempDirectory ( war . getName ( ) , getPort ( arguments ) ) ; cl = createClassLoader ( war , tempDirectory ) ; Thread . currentThread ( ) . setContextClassLoader ( cl ) ; startJettyConsole ( cl , arguments , tempDirectory ) ; }
Extract jar files, set up a class loader and execute {@link org.simplericity.jettyconsole.JettyConsoleStarter}'s main method.
@param arguments
@throws Exception