Package org.objectstyle.woenvironment.env

Examples of org.objectstyle.woenvironment.env.WOEnvironment


public class ExternalFrameworkModel extends FrameworkModel<IFramework> {
  private WOEnvironment environment;

  public ExternalFrameworkModel(Hashtable<String,Object> existingProperties) {
    this.environment = new WOEnvironment(existingProperties);
  }
View Full Code Here


      if (buildProperties != null) {
        defaultProperties.putAll(buildProperties);
      }
    }

    WOVariables variables = new WOEnvironment(defaultProperties).getWOVariables();
    return variables;
  }
View Full Code Here

    frameworkSets.add(frameworks);
  }

  @Override
  public void execute() throws BuildException {
    getCommandline().createClasspath(getProject()).createPath().add(FrameworkSet.jarsPathForFrameworkSets(getProject(), frameworkSets, new WOEnvironment(getProject().getProperties()).getWOVariables()));
    super.execute();
  }
View Full Code Here

    this.dumpClasspath = dumpClasspath;
  }

  @Override
  public void execute() throws BuildException {
    setClasspath(FrameworkSet.jarsPathForFrameworkSets(getProject(), frameworkSets, new WOEnvironment(getProject().getProperties()).getWOVariables()));
    if (dumpClasspath != null) {
      getProject().setProperty(dumpClasspath, getClasspath().toString());
    }
    super.execute();
  }
View Full Code Here

public class WOLipsPropertiesTask extends Task {
  @Override
  @SuppressWarnings("unchecked")
  public void execute() throws BuildException {
    if (getProject().getProperty("wolips.properties") == null) {
      WOEnvironment environment = new WOEnvironment(getProject().getProperties());
      File wolipsPropertiesFile = environment.getWOVariables().getWOLipsPropertiesFile();
      if (wolipsPropertiesFile != null) {
        getProject().setProperty("wolips.properties", wolipsPropertiesFile.getAbsolutePath());
      }
    }
  }
View Full Code Here

        // System.out.println(
        // "EclipseProjectEOModelGroupFactory.getSearchFolders: Project = "
        // + eclipseProjectFolder);
        Set<File> visitedProjectFolders = new HashSet<File>();
        try {
          processEclipseProject(eclipseProjectFolder, searchFolders, visitedProjectFolders, new WOEnvironment());
        } catch (Exception e) {
          e.printStackTrace();
        }
      }
    }
View Full Code Here

    // MS: TOTAL HACK ... I don't know where to hook in to expand FrameworkSets into jars, but this
    // seems to be called before it's used, so I think this will do it
    @Override
    protected ResourceCollection assertFilesystemOnly(ResourceCollection rc) {
      add(FrameworkSet.jarsPathForFrameworkSets(getProject(), _frameworkSets, new WOEnvironment(getProject().getProperties()).getWOVariables()));
      return super.assertFilesystemOnly(rc);
    }
View Full Code Here

   */
  @SuppressWarnings("unchecked")
  public WOEnvironment getWOEnvironment() {
    if (woEnvironment != null)
      return woEnvironment;
    woEnvironment = new WOEnvironment(this.getProject().getProperties());
    if (!woEnvironment.variablesConfigured())
      this.getProject().fireBuildFinished(new WOBuildPropertiesNotFoundException());
    return woEnvironment;
  }
View Full Code Here

TOP

Related Classes of org.objectstyle.woenvironment.env.WOEnvironment

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.