Java -vm parameters not configurable before REPL starts

Hello,

Please add the feature to configure the Java -vm parameters before the REPL. You can't change it once the JVM is fired up. I looked at the code from ClojureBuilder.java (build method)

List<String> vmParams = new ArrayList<String>();
    List<String> programParams = new ArrayList<String>();
    File outputDir = chunk.representativeTarget().getOutputDir();
    File fileWithCompileScript = FileUtil.createTempFile("clojurekul", ".clj");
    fillFileWithClojureCompilerParams(toCompile, toCompileNamespace, fileWithCompileScript, outputDir);
    programParams.add(fileWithCompileScript.getAbsolutePath());
    List<String> commandLine =
        ExternalProcessUtil.buildJavaCommandLine(javaExecutable, CLOJURE_MAIN, Collections.<String>emptyList(), classpath, vmParams, programParams);

    Process process = Runtime.getRuntime().exec(ArrayUtil.toStringArray(commandLine));





Please either put in a text box or just let me specify it in a file. This is a very important feature for me.

Thanks,

Phat
2 comments

Forget it. I see it under facet settings.

0

Please create appropriate issue in our issue tracker: http://youtrack.jetbrains.com/issues/CLJ
I think it would be simple to fix, so I'll be able to close it ASAP.

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.