Examples of usejavacp()


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

  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));
  }

  private static String createInterpreterClasspath(List<String> additionalPaths) throws ClassNotFoundException {
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.