code: def run(self):
      
      buildDir = os.path.join("..","build","lib")
      buildXmlFile = os.path.join("native","build.xml")
      command = [self.distribution.ant, '-Dbuild=%s'%buildDir, '-f', buildXmlFile]
      cmdStr= ' '.join(command)
      self.announce("  %s"%cmdStr, level=distutils.log.INFO)
      try:
          subprocess.check_call(command)
      except subprocess.CalledProcessError as exc:
          distutils.log.error(exc.output)
          raise DistutilsPlatformError("Error executing {}".format(exc.cmd))
docs: Run command.