#NEWLINE# def startup3( self , classpath ) : #NEWLINE# #INDENT# os_sep = str ( os . sep ) #NEWLINE# os_path_sep = str ( os . pathsep ) #NEWLINE# if ( classpath is not None ) : #NEWLINE# #INDENT# self . classpath = ( ( str ( os . path . join ( self . java_home , 'lib' , 'tools.jar' ) ) + os_path_sep ) + classpath ) #NEWLINE# self . logger . info ( ( 'Target classpath  = ' + self . classpath ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . logger . error ( 'Failed to generate classpath' ) #NEWLINE# #UNINDENT# self . status_message ( 'Classpath saved, starting ensime server' ) #NEWLINE# ensime_command = self . get_ensime_command ( ) #NEWLINE# if ensime_command : #NEWLINE# #INDENT# self . logger . info ( ( ( 'Starting Ensime server (plugin version is ' + ( self . env . settings . get ( 'plugin_version' ) or 'unknown' ) ) + ')' ) ) #NEWLINE# self . logger . info ( ( ( ( 'Launching Ensime server process with command = ' + str ( ensime_command ) ) + ' and flags = ' ) + str ( self . java_flags ) ) ) #NEWLINE# ensime_cfg_flag = ( '-Densime.config=' + self . dotensime_file ) #NEWLINE# classpath_part = [ '-classpath' , self . classpath , ensime_cfg_flag ] #NEWLINE# cmd = ( ( ( [ ensime_command ] + classpath_part ) + self . java_flags ) + [ '-Densime.explode.on.disconnect=true' , 'org.ensime.server.Server' ] ) #NEWLINE# self . proc = ServerProcess ( self . owner , cmd , self . cache_dir , [ self , self . env . controller ] ) #NEWLINE# return True