ef3c4f54d0a80e78f958bf5905313a41df6f196d,src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_compile.py,BaseZincCompile,_verify_zinc_classpath,#Any#Any#,322

Before Change


      if not os.path.isabs(path):
        raise TaskError("Classpath entries provided to zinc should be absolute. " + path + " is not.")
      if os.path.relpath(path, pants_workdir).startswith(os.pardir):
        raise TaskError("Classpath entries provided to zinc should be in working directory. " +
                        path + " is not.")
      if path != os.path.normpath(path):
        raise TaskError("Classpath entries provided to zinc should be normalised (i.e. without ".." and "."). " +
                        path + " is not.")

After Change


      if not os.path.isabs(path):
        raise TaskError("Classpath entries provided to zinc should be absolute. "
                        "{} is not.".format(path))
      if is_outside(path, self.get_options().pants_workdir) and is_outside(path, self.dist.home):
        raise TaskError("Classpath entries provided to zinc should be in working directory or "
                        "part of the JDK. {} is not.".format(path))
      if path != os.path.normpath(path):
        raise TaskError("Classpath entries provided to zinc should be normalized "
                        "(i.e. without ".." and "."). {} is not.".format(path))

  def log_zinc_file(self, analysis_file):
    self.context.log.debug("Calling zinc on: {} ({})"
                           .format(analysis_file,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: pantsbuild/pants
Commit Name: ef3c4f54d0a80e78f958bf5905313a41df6f196d
Time: 2016-05-12
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_compile.py
Class Name: BaseZincCompile
Method Name: _verify_zinc_classpath


Project Name: pantsbuild/pants
Commit Name: 9f9c1a951607e1b222402194ad817e90169cd08d
Time: 2015-02-10
Author: rbcommons@tla.org
File Name: src/python/pants/backend/jvm/tasks/junit_run.py
Class Name: Cobertura
Method Name: report


Project Name: pantsbuild/pants
Commit Name: 23982cc23bc0d446da88c1753c57410194c21e0b
Time: 2014-10-09
Author: mister@lahosken.san-francisco.ca.us
File Name: src/python/pants/backend/core/tasks/reflect.py
Class Name:
Method Name: entry_for_one_class