Examples of configureByModule()


Examples of com.intellij.execution.configurations.JavaParameters.configureByModule()

        String behaviourLocator = behaviorClass;
        if (behaviourMethod.length() > 0) {
            behaviourLocator += ":" + behaviourMethod;
        }
        parameters.getProgramParametersList().addParametersString(behaviourLocator);
        parameters.configureByModule(runConfiguration.getModule(),
                JavaParameters.JDK_AND_CLASSES_AND_TESTS);
        parameters.setWorkingDirectory(runConfiguration.getWorkingDirectoryPath());
        return parameters;
    }
}
View Full Code Here

Examples of com.intellij.execution.configurations.JavaParameters.configureByModule()

        return ActionManager.getInstance().getAction(IdeActions.ACTION_STOP_PROGRAM);
    }

    private GeneralCommandLine createCommandLine(Module module, String workingDir) throws CantRunException {
        final JavaParameters params = new JavaParameters();
        params.configureByModule(module, JavaParameters.JDK_AND_CLASSES_AND_TESTS);

        params.getClassPath().add(PathUtil.getJarPathForClass(Main.class));

        Set<VirtualFile> cpVFiles = new HashSet<VirtualFile>();
        ModuleRootManager moduleRootManager = ModuleRootManager.getInstance(module);
View Full Code Here

Examples of com.intellij.execution.configurations.JavaParameters.configureByModule()

        nReplHost, nReplPort);
  }

  private static ArrayList<String> createRuntimeArgs(Module module, String workingDir) throws CantRunException {
    final JavaParameters params = new JavaParameters();
    params.configureByModule(module, JavaParameters.JDK_AND_CLASSES_AND_TESTS);
    // To avoid NCDFE while starting REPL

    final boolean sdkConfigured = ClojureConfigUtil.isClojureConfigured(module);
    if (!sdkConfigured) {
      final String jarPath = ClojureConfigUtil.CLOJURE_SDK;
View Full Code Here

Examples of com.intellij.execution.configurations.JavaParameters.configureByModule()

    return facet.isRunNrepl();
  }

  private GeneralCommandLine createCommandLine(Module module, String workingDir) throws CantRunException {
    final JavaParameters params = new JavaParameters();
    params.configureByModule(module, JavaParameters.JDK_AND_CLASSES_AND_TESTS);
    params.getVMParametersList().addAll(getJvmClojureOptions(module));
    params.getProgramParametersList().addAll(getReplClojureOptions(module));
    // To avoid NCDFE while starting REPL

    final boolean sdkConfigured = ClojureConfigUtil.isClojureConfigured(module);
View Full Code Here

Examples of com.intellij.execution.configurations.JavaParameters.configureByModule()

    } else {
      // Only a single command line per-project is supported. We may need more flexibility
      //  in the future (e.g., different Clojure paths with different args)

      final JavaParameters params = new JavaParameters();
      params.configureByModule(myModule, JavaParameters.JDK_AND_CLASSES_AND_TESTS);
      // To avoid NCDFE while starting REPL

      final boolean sdkConfigured = ClojureConfigUtil.isClojureConfigured(myModule);
      if (!sdkConfigured) {
        final String jarPath = ClojureConfigUtil.CLOJURE_SDK;
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.