(properties=None, paths=[])
return ":".join([p for p in paths if p != ''])
Generates a classpath that includes the location of the kcl jars, the
    properties file and the optional paths.

    :type properties: str
    :param properties: Path to properties file.

    :type paths: list
    :param paths: List of strings. The paths that will be prepended to the classpath.

    :rtype: str
    :return: A java class path that will allow your properties to be found and the MultiLangDaemon and its deps and
        any custom paths you provided.
Generates a classpath that includes the location of the kcl jars, the
    properties file and the optional paths.
Generates a classpath that includes the location of the kcl jars the properties file and the optional paths .
def get_kcl_classpath(properties=None, paths=[]):
    '''
    Generates a classpath that includes the location of the kcl jars, the
    properties file and the optional paths.

    :type properties: str
    :param properties: Path to properties file.

    :type paths: list
    :param paths: List of strings. The paths that will be prepended to the classpath.

    :rtype: str
    :return: A java class path that will allow your properties to be found and the MultiLangDaemon and its deps and
        any custom paths you provided.
    '''
    # First make all the user provided paths absolute
    paths = [os.path.abspath(p) for p in paths]
    # We add our paths after the user provided paths because this permits users to
    # potentially inject stuff before our paths (otherwise our stuff would always
    # take precedence).
    paths.append(get_kcl_jar_path())
    if properties:
        # Add the dir that the props file is in
        dir_of_file = get_dir_of_file(properties)
        paths.append(dir_of_file)
    return ":".join([p for p in paths if p != ''])
def get_kcl_classpath ( properties = None , paths = [ ] ) : # First make all the user provided paths absolute paths = [ os . path . abspath ( p ) for p in paths ] # We add our paths after the user provided paths because this permits users to # potentially inject stuff before our paths (otherwise our stuff would always # take precedence). paths . append ( get_kcl_jar_path ( ) ) if properties : # Add the dir that the props file is in dir_of_file = get_dir_of_file ( properties ) paths . append ( dir_of_file ) return ":" . join ( [ p for p in paths if p != '' ] )