code: def get_classpath_entries_for_targets(self, targets, respect_excludes=True):
      
  
      # remove the duplicate, preserve the ordering.
      return list(OrderedSet([cp for cp, target in self.get_product_target_mappings_for_targets(
                              targets, respect_excludes)]))
docs: Gets the classpath products for the given targets.
  
      Products are returned in order, optionally respecting target excludes.
  
      :param targets: The targets to lookup classpath products for.
      :param bool respect_excludes: `True` to respect excludes; `False` to ignore them.
      :returns: The ordered (conf, classpath entry) tuples.
      :rtype: list of (string, :class:`ClasspathEntry`)