Examples of IOtpNodeProxy


Examples of org.erlide.runtime.api.IOtpNodeProxy

  public String getOsCommand(final IErlProject erlProject) {
    String _xblockexpression = null;
    {
      IBackendManager _backendManager = BackendCore.getBackendManager();
      final IBackend backend = _backendManager.getBuildBackend(erlProject);
      IOtpNodeProxy _nodeProxy = backend.getNodeProxy();
      String _otpHome = _nodeProxy.getOtpHome();
      Path _path = new Path(_otpHome);
      final IPath path = _path.append("bin/erl");
      String _xifexpression = null;
      SystemConfiguration _instance = SystemConfiguration.getInstance();
      boolean _isOnWindows = _instance.isOnWindows();
View Full Code Here

Examples of org.erlide.runtime.api.IOtpNodeProxy

                        data.getNodeName());
            }
        } else {
            erts = null;
        }
        final IOtpNodeProxy nodeProxy = new OtpNodeProxy(data);
        nodeProxy.startAndWait();

        final IBackendManager backendManager = BackendCore.getBackendManager();
        final Backend b = data.isInternal() ? new InternalBackend(data, nodeProxy, erts)
                : new ExternalBackend(data, nodeProxy, erts);

        b.initialize(data.getContext(), backendManager);
        nodeProxy.addStatusHandler(new Procedure1<Boolean>() {
            @Override
            public void apply(final Boolean up) {
                if (!up) {
                    b.handleCrash(backendManager);
                }
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.