Examples of addJvmArgs()


Examples of de.saumya.mojo.ruby.script.GemScriptFactory.addJvmArgs()

                                  this.project.getTestClasspathElements(),
                                  this.jrubyFork,
                                  this.gemsConfig));
                 
            if(supportNative){
                factory.addJvmArgs("-Djruby.home=" + setupNativeSupport().getAbsolutePath());
            }
            if(rubySourceDirectory != null && rubySourceDirectory.exists()){
                if(jrubyVerbose){
                    getLog().info("add to ruby loadpath: " + rubySourceDirectory.getAbsolutePath());
                }
View Full Code Here

Examples of scala_maven_executions.JavaMainCaller.addJvmArgs()

            return;
        }
        getLog().info("start server...");
        JavaMainCaller jcmd = getEmptyScalaCommand("scala.tools.nsc.MainGenericRunner");
        jcmd.addArgs("scala.tools.nsc.CompileServer");
        jcmd.addJvmArgs(jvmArgs);
        jcmd.addArgs(args);
        jcmd.spawn(displayCmd);
        FileUtils.fileWrite(serverTagFile.getAbsolutePath(), ".");
        Thread.sleep(1000); //HACK To wait startup time of server (avoid first fsc command to failed to contact server)
    }
View Full Code Here

Examples of scala_maven_executions.JavaMainCaller.addJvmArgs()

            }
        }

        JavaMainCaller jcmd = getEmptyScalaCommand(scaladocClassName);
        jcmd.addArgs(args);
        jcmd.addJvmArgs(jvmArgs);

        if (isPreviousScala271){
            jcmd.addArgs("-Ydoc");
        }
        // copy the classpathElements to not modify the global project definition see https://github.com/davidB/maven-scala-plugin/issues/60
View Full Code Here

Examples of scala_maven_executions.JavaMainCaller.addJvmArgs()

        cmd.addArgs(args);
        if (StringUtils.isNotEmpty(addScalacArgs)) {
          cmd.addArgs(StringUtils.split(addScalacArgs, "|"));
        }
        addCompilerPluginOptions(cmd);
        cmd.addJvmArgs(jvmArgs);
        return cmd;
    }

    protected JavaMainCaller getEmptyScalaCommand(String mainClass) throws Exception {
     
View Full Code Here

Examples of scala_maven_executions.JavaMainCaller.addJvmArgs()

        // * works only since 2.8.0
        // * is buggy (don't manage space in path on windows)
        getLog().debug("use java command with args in file forced : " + forceUseArgFile);
        cmd = new JavaMainCallerByFork(this, mainClass, cp, null, null, forceUseArgFile, toolchainManager.getToolchainFromBuildContext("jdk", session));
        if (bootcp) {
          cmd.addJvmArgs("-Xbootclasspath/a:" + toolcp);
        }
      } else  {
        cmd = new JavaMainCallerInProcess(this, mainClass, toolcp, null, null);
      }
      return cmd;
View Full Code Here

Examples of scala_maven_executions.JavaMainCaller.addJvmArgs()

        addCompilerPluginOptions(jcmd);
        if (javaRebelPath != null) {
            if (!javaRebelPath.exists()) {
                getLog().warn("javaRevelPath '"+javaRebelPath.getCanonicalPath()+"' not found");
            } else {
                jcmd.addJvmArgs("-noverify", "-javaagent:" + javaRebelPath.getCanonicalPath());
            }
        }
        jcmd.run(displayCmd);
    }
}
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.