Package org.eclipse.cdt.core.settings.model

Examples of org.eclipse.cdt.core.settings.model.CSourceEntry


    if(excludes != null){
      for(String exclude : StringUtils.split(excludes, ',')){
        excludePaths.add(new Path(exclude));
      }
    }
    ICSourceEntry source = new CSourceEntry(
        new Path(dir),
        excludePaths.toArray(new IPath[excludePaths.size()]),
        CSourceEntry.VALUE_WORKSPACE_PATH);

    for(ICConfigurationDescription config : configs){
View Full Code Here


      ICExclusionPatternPathEntry[] entries = cfgd.getConfiguration().getSourceEntries();
      if (entries.length == 1) {
    Path exclusionPath[] = new Path[2];
    exclusionPath[0] = new Path("Libraries/*/?xamples");
    exclusionPath[1] = new Path("Libraries/*/?xtras");
    ICExclusionPatternPathEntry newSourceEntry = new CSourceEntry(entries[0].getFullPath(), exclusionPath,
      ICSettingEntry.VALUE_WORKSPACE_PATH);
    ICSourceEntry[] out = null;
    out = new ICSourceEntry[1];
    out[0] = (ICSourceEntry) newSourceEntry;
    try {
View Full Code Here

  // set the top build dir path
  topBuildDir = project.getFolder(cfg.getName()).getFullPath();

  srcEntries = config.getSourceEntries();
  if (srcEntries.length == 0) {
      srcEntries = new ICSourceEntry[] { new CSourceEntry(Path.EMPTY, null, ICSettingEntry.RESOLVED | ICSettingEntry.VALUE_WORKSPACE_PATH) };
  } else {
      ICConfigurationDescription cfgDes = ManagedBuildManager.getDescriptionForConfiguration(config);
      srcEntries = CDataUtil.resolveEntries(srcEntries, cfgDes);
  }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.cdt.core.settings.model.CSourceEntry

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.