Package hudson.Launcher

Examples of hudson.Launcher.LocalLauncher.launch()


     * Runs svnserve to serve the specified directory as a subversion repository.
     */
    protected Proc runSvnServe(File repo) throws Exception {
        LocalLauncher launcher = new LocalLauncher(StreamTaskListener.fromStdout());
        try {
            launcher.launch().cmds("svnserve","--help").start().join();
        } catch (IOException e) {
          Assert.fail("Failed to launch svnserve. Do you have subversion installed?\n" + e);
        }

        // If there is an already existing svnserve running on the machine
View Full Code Here


          if (s != null) {
            s.close();
          }
        }

        return launcher.launch().cmds(
                "svnserve","-d","--foreground","-r",repo.getAbsolutePath(), "--listen-port", String.valueOf(port)).pwd(repo).start();
    }

    static {
        ClassicPluginStrategy.useAntClassLoader = true;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.