def writejar(self, jar):
    if not jar or not isinstance(jar, string_types):
      raise ValueError('The jar path must be a non-empty string')

    self._jars.append(jar)
Schedules all entries from the given ``jar``'s to be added to this jar save for the manifest.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/jar_task.py/Jar.writejar