#NEWLINE# def _clean_win_jmx( self ) : #NEWLINE# #INDENT# if ( self . get_base_cassandra_version ( ) >= 2.1 ) : #NEWLINE# #INDENT# sh_file = os . path . join ( common . CASSANDRA_CONF_DIR , common . CASSANDRA_WIN_ENV ) #NEWLINE# dst = os . path . join ( self . get_path ( ) , self ) #NEWLINE# common . replace_in_file ( dst , '^\\s+\\$JMX_PORT=' , ( ( '    $JMX_PORT="' + self . jmx_port ) + '"' ) ) #NEWLINE# common . replace_in_file ( dst , 'CASSANDRA_PARAMS=' , ( ( "    $env:CASSANDRA_PARAMS='-Dcassandra" + ' -Dlogback.configurationFile=/"\' + "$env:CASSANDRA_CONF" + \'/logback.xml"\'' ) + ' + \' -Dcassandra.config=file:"\' + "///$env:CASSANDRA_CONF" + \'/cassandra.yaml"\'' ) )