Ejemplo n.º 1
0
 @Override
 public IBuildPropertyValue getBuildArtefactType() {
   IBuildObjectProperties props = findBuildProperties();
   if (props != null) {
     IBuildProperty prop = props.getProperty(ManagedBuildManager.BUILD_ARTEFACT_TYPE_PROPERTY_ID);
     if (prop != null) return prop.getValue();
   }
   return null;
 }
Ejemplo n.º 2
0
 /* (non-Javadoc)
  * @see org.eclipse.cdt.managedbuilder.core.IBuildObject#getName()
  */
 @Override
 public String getName() {
   String name = getNameAttribute();
   if (name.length() == 0) {
     IBuildObjectProperties props = getBuildProperties();
     IBuildProperty prop = props.getProperty(ManagedBuildManager.BUILD_ARTEFACT_TYPE_PROPERTY_ID);
     if (prop != null) name = prop.getValue().getName();
   }
   return name;
 }