original_docstring: 
          Returns the location of the mendix runtime files and the
          java classpath or None if the classpath cannot be determined
          (i.e. the Mendix Runtime is not available on this system)
          
docstring: Returns the location of the mendix runtime files and the
  java classpath or None if the classpath cannot be determined
docstring_tokens: Returns the location of the mendix runtime files and the java classpath or None if the classpath cannot be determined
code: def _setup_classpath_runtime_binary(self):
          """
          Returns the location of the mendix runtime files and the
          java classpath or None if the classpath cannot be determined
          (i.e. the Mendix Runtime is not available on this system)
          """
  
          logger.debug("Running from binary distribution.")
          classpath = []
  
          if not self._runtime_path:
              logger.debug("runtime_path is empty, no classpath can be "
                           "determined")
              return []
  
          if self.runtime_version < 5:
              classpath.extend([
                  os.path.join(self._runtime_path, 'server', '*'),
                  os.path.join(self._runtime_path, 'server', 'lib', '*'),
                  os.path.join(self._runtime_path, 'runtime', '*'),
                  os.path.join(self._runtime_path, 'runtime', 'lib', '*'),
              ])
          elif self.runtime_version // 5 or self.runtime_version // 6:
              classpath.extend([
                  os.path.join(self._runtime_path, 'runtime', 'felix', 'bin',
                               'felix.jar'),
                  os.path.join(self._runtime_path, 'runtime', 'lib',
                               'com.mendix.xml-apis-1.4.1.jar')
              ])
          else:
              raise Exception("Trying to determine runtime classpath for runtime version %s. "
                              "Please report this as a bug." % self.runtime_version)
  
          return classpath
code_tokens: def _setup_classpath_runtime_binary ( self ) : logger . debug ( "Running from binary distribution." ) classpath = [ ] if not self . _runtime_path : logger . debug ( "runtime_path is empty, no classpath can be " "determined" ) return [ ] if self . runtime_version < 5 : classpath . extend ( [ os . path . join ( self . _runtime_path , 'server' , '*' ) , os . path . join ( self . _runtime_path , 'server' , 'lib' , '*' ) , os . path . join ( self . _runtime_path , 'runtime' , '*' ) , os . path . join ( self . _runtime_path , 'runtime' , 'lib' , '*' ) , ] ) elif self . runtime_version // 5 or self . runtime_version // 6 : classpath . extend ( [ os . path . join ( self . _runtime_path , 'runtime' , 'felix' , 'bin' , 'felix.jar' ) , os . path . join ( self . _runtime_path , 'runtime' , 'lib' , 'com.mendix.xml-apis-1.4.1.jar' ) ] ) else : raise Exception ( "Trying to determine runtime classpath for runtime version %s. " "Please report this as a bug." % self . runtime_version ) return classpath
short_docstring: Returns the location of the mendix runtime files and the
  java classpath or None if the classpath cannot be determined
  (i.e.
short_docstring_tokens: Returns the location of the mendix runtime files and the java classpath or None if the classpath cannot be determined ( i . e .
comment: """
          Returns the location of the mendix runtime files and the
          java classpath or None if the classpath cannot be determined
          (i.e. the Mendix Runtime is not available on this system)
          """