Package org.eclipse.jdt.launching

Examples of org.eclipse.jdt.launching.VMRunnerConfiguration


      ArrayList<String> programArgs = new ArrayList<String>();
      programArgs.add("run");
      programArgs.add(scriptFile.getProjectRelativePath().toString());
     
      VMRunnerConfiguration runConfiguration = new VMRunnerConfiguration(mainTypeName, classpath);
     
      runConfiguration.setProgramArguments(programArgs.toArray(new String[programArgs.size()]));
//      runConfiguration.setVMArguments(vmArgs.toArray(new String[vmArgs.size()]));
      runConfiguration.setWorkingDirectory(project.getLocation().toFile().toString());
//      runConfiguration.setEnvironment(envp);
//      runConfiguration.setVMSpecificAttributesMap(vmAttributesMap);
     
      runner.run(runConfiguration, launch, monitor);
     
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.launching.VMRunnerConfiguration

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.