Package org.fusesource.ide.server.karaf.core.runtime

Examples of org.fusesource.ide.server.karaf.core.runtime.IKarafRuntime


   */
  @Override
  protected void doConfigure(ILaunchConfigurationWorkingCopy workingCopy)
      throws CoreException {

    IKarafRuntime runtime = null;
    if (server.getRuntime() != null) {
      runtime = (IKarafRuntime)server.getRuntime().loadAdapter(IKarafRuntime.class, null);
    }
   
    if (runtime != null) {
      String karafInstallDir = runtime.getLocation().toOSString();
      String mainProgram = null;
      String vmArguments = null;
     
      String version = runtime.getVersion();
      if (version != null) {
        if (version.startsWith(IFuseToolingConstants.FUSE_VERSION_6x)) {
          // handle 4x specific program arguments
          vmArguments = get6xVMArguments(karafInstallDir);
          mainProgram = get6xMainProgram();
View Full Code Here


  @Override
  protected void doConfigure(ILaunchConfigurationWorkingCopy workingCopy)
      throws CoreException {

    IKarafRuntime runtime = null;
    if (server.getRuntime() != null) {
      runtime = (IKarafRuntime)server.getRuntime().loadAdapter(IKarafRuntime.class, null);
    }
   
    if (runtime != null) {
      String karafInstallDir = runtime.getLocation().toOSString();
      String mainProgram = null;
      String vmArguments = null;
     
      vmArguments = getVMArguments(karafInstallDir);
      mainProgram = getMainProgram();
View Full Code Here

      }
    }
  }

  protected String getDeployDir() {
    IKarafRuntime runtime = (IKarafRuntime)server.getRuntime().loadAdapter(IKarafRuntime.class, null);
    if (runtime != null) {
      String karafInstallDir = runtime.getLocation().toOSString();
      return karafInstallDir + SEPARATOR + "deploy";
    }
    return ""; //$NON-NLS-1$
  }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.server.karaf.core.runtime.IKarafRuntime

Copyright © 2018 www.massapicom. 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.