Package scala.tools.nsc

Examples of scala.tools.nsc.Settings.bootclasspath()


    return MAIN_SCRIPT;
  }

  private static IMain initInterpreter(String interpreterClasspath) throws ClassNotFoundException {
    Settings settings = new Settings();
    MutableSettings.PathSetting bootClasspath = (MutableSettings.PathSetting) settings.bootclasspath();
    bootClasspath.append(interpreterClasspath);

    ((MutableSettings.BooleanSetting) settings.usejavacp()).tryToSetFromPropertyValue("true");

    return new IMain(settings, new PrintWriter(interpreterOutput));
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.