Examples of mainClass()


Examples of ch.cmbntr.modulizer.plugin.util.ModuleDescriptors.ModuleDescriptorBuilder.mainClass()

    }
  }

  public ModuleDescriptorBuilder createDescriptor(final Iterable<String> resourceRootPaths) {
    final ModuleDescriptorBuilder desc = ModuleDescriptors.xmlDescriptor(this.name, this.slot);
    desc.mainClass(this.mainClass);
    desc.resourceRoots(resourceRootPaths);
    desc.dependencies(this.dependencies);
    return desc;
  }
View Full Code Here

Examples of hudson.util.JVMBuilder.mainClass()

        serverSocket.setSoTimeout(10000);

        // use -cp + FQCN instead of -jar since remoting.jar can be rebundled
        // (like in the case of the swarm plugin.)
        vmb.classpath().addJarOf(Channel.class);
        vmb.mainClass(Launcher.class);

        if (classpath != null)
            vmb.args().add("-cp").add(classpath);
        vmb.args().add("-connectTo", "localhost:" + serverSocket.getLocalPort());
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.