code: def target_base(self):
      
      source_root = self._sources_field.source_root
      if not source_root:
        raise TargetDefinitionException(self, 'Not under any configured source root.')
      return source_root.path
docs: :API: public
  
      :returns: the source root path for this target.