Package org.formic

Examples of org.formic.InstallContext


      Requirement[] requirements = new Requirement[1];
      requirements[0] = new EclipseRequirement();
      return requirements;
    }

    InstallContext context = Installer.getContext();
    boolean skipVim = ((Boolean)context.getValue("vim.skip")).booleanValue();

    Requirement[] requirements = new Requirement[skipVim ? 3 : 4];
    requirements[0] = new EclipseRequirement();
    requirements[1] = new WhichRequirement("make");
    requirements[2] = new WhichRequirement("gcc");
View Full Code Here


    createInclude().setName("**/org.eclim.core_*/**/*");
    createInclude().setName("**/org.eclim.vimplugin/**/*");
    createInclude().setName("**/org.eclim.vimplugin_*/**/*");

    // feature based includes
    InstallContext context = Installer.getContext();
    String[] keys = context.getKeysByPrefix("featureList");
    for (int ii = 0; ii < keys.length; ii++){
      String key = keys[ii];
      Boolean value = Boolean.valueOf(context.getValue(key).toString());
      if(value.booleanValue()){
        createFeatureIncludes(key);

        // handle per version features by removing the version suffix.
        Matcher matcher = VERSIONED.matcher(key);
View Full Code Here

   */
  public boolean proceed()
  {
    boolean proceed = super.proceed();
    if (proceed){
      InstallContext context = Installer.getContext();
      context.setValue("vim.skip", Boolean.valueOf(skipCheckBox.isSelected()));
      String vimfiles = (String)context.getValue("vim.files");

      if (vimfiles != null){
        vimfiles = vimfiles.replace('\\', '/');
        context.setValue("vim.files", vimfiles);

        // Check if the user has the eclim vim files already installed in
        // another directory in their vim's runtime path.

        // on windows, since case is insensitive, lower the path.
View Full Code Here

TOP

Related Classes of org.formic.InstallContext

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.