133134135136137138139140141142143
LaunchablePlugin[] launchables = findLaunchablePlugins(listener); if ( launchables.length == 0 ){ listener.messageLogged( LoggerChannel.LT_ERROR, "No launchable plugins found" ); return; }else if ( launchables.length > 1 ){
139140141142143144145146147148149
return; }else if ( launchables.length > 1 ){ listener.messageLogged( LoggerChannel.LT_ERROR, "Multiple launchable plugins found, running first" ); } try{ // set default details for restarter
175176177178179180181182183184185
azureus_core.start(); }catch( Throwable e ){ listener.messageLogged( "PluginLauncher: launch fails", e ); } } }; core_thread.setDaemon( true );
217218219220221222223224225226227
} } }catch( Throwable e ){ listener.messageLogged( "PluginLauncher: launch fails", e ); } } private static LaunchablePlugin[] findLaunchablePlugins(