Package org.objectstyle.wolips.variables

Examples of org.objectstyle.wolips.variables.BuildProperties


            FuzzyXMLElementWithWodElement data;
            String tagName = stackElement.getName();
            boolean isWOTag = WodHtmlUtils.isWOTag(tagName);
            String displayName = null;
            if (isWOTag) {
              BuildProperties buildProperties = (BuildProperties)cache.getProject().getAdapter(BuildProperties.class);
              IWodElement wodElement = WodHtmlUtils.getWodElement(stackElement, buildProperties, true, cache);
              if (wodElement != null) {
                displayName = wodElement.getElementType();
              }
              data = new FuzzyXMLElementWithWodElement(stackElement, wodElement);
View Full Code Here


  @Override
  protected HTMLAssistProcessor createAssistProcessor() {
    try {
      IFile file = ((FileEditorInput) getEditorPart().getEditorInput()).getFile();
      WodParserCache parserCache = WodParserCache.parser(file);
      BuildProperties buildProperties = (BuildProperties)parserCache.getProject().getAdapter(BuildProperties.class);
      return new TemplateAssistProcessor(getEditorPart(), parserCache, buildProperties);
    }
    catch (Exception e) {
      throw new RuntimeException("Failed to create assist processor.", e);
    }
View Full Code Here

    return processedHtmlContents;
  }

  @Override
  protected FuzzyXMLDocument _parse(String contents) {
    BuildProperties buildProperties = (BuildProperties)getCache().getProject().getAdapter(BuildProperties.class);
    FuzzyXMLParser parser = new FuzzyXMLParser(buildProperties != null ? buildProperties.isWellFormedTemplateRequired() : false, true);
    parser.addErrorListener(this);
    FuzzyXMLDocument htmlXmlDocument = parser.parse(contents);
    return htmlXmlDocument;
  }
View Full Code Here

    }
    roots.add(_projectRootCache);

    ProjectAdapter projectAdapter = this.project != null ? (ProjectAdapter) this.project.getAdapter(ProjectAdapter.class) : null;
    if (projectAdapter != null) {
      BuildProperties buildProperties = projectAdapter.getBuildProperties();
      if (buildProperties != null) {
        String projectFrameworkFolderPath = buildProperties.getProjectFrameworkFolder();
        if (projectFrameworkFolderPath != null) {
          IFolder projectFrameworkFolder = this.project.getFolder(projectFrameworkFolderPath);
          if (projectFrameworkFolder.exists()) {
            roots.add(getCachedFolderRoot(Root.PROJECT_LOCAL_ROOT, "Project Local Frameworks", projectFrameworkFolder.getLocation().toFile(), projectFrameworkFolder.getLocation().toFile()));
          }
View Full Code Here

*/
public abstract class WOLipsPropertyPage extends PropertyPage implements IAdaptable {
  private BuildProperties _buildProperties;

  protected BuildProperties getBuildProperties() {
    BuildProperties buildProperties = _buildProperties;
    if (buildProperties == null) {
      ProjectAdapter projectAdapter = getProjectAdapter();
      if (projectAdapter != null) {
        buildProperties = projectAdapter.getBuildProperties();
        _buildProperties = buildProperties;
View Full Code Here

      boolean fullBuild = (kind == IncrementalProjectBuilder.FULL_BUILD || kind == IncrementalProjectBuilder.CLEAN_BUILD || patternsetDeltaVisitor().isFullBuildRequired());
      String oldPrincipalClass = getArg(args, BuilderPlugin.NS_PRINCIPAL_CLASS, "");
      if (oldPrincipalClass.length() == 0) {
        oldPrincipalClass = null;
      }
      BuildProperties buildProperties = project.getBuildProperties();
      String principalClass = buildProperties.getPrincipalClass(true);
      if (principalClass == null && oldPrincipalClass != null) {
        principalClass = oldPrincipalClass;
        buildProperties.setPrincipalClass(principalClass);
      }
     
      if (buildProperties.getWOVersion().isAtLeastVersion(5, 6)) {
        IContainer infoPListContainer = getProject().getFolder(IWoprojectAdapter.FOLDER_NAME);
        createInfoPlist(infoPListContainer);
      }
      else {
        if (_buildVisitor == null) {
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.variables.BuildProperties

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.