# am.conf
<%
classpath = p('javascript.jar') + ":" + p('dm.jar') 
java_bin = p('java.bin')
command_dm    = "#{java_bin} -cp #{classpath} galatea.dialog.DialogManager  -c #{@runner_tmp_dir}/gdm.conf #{@dm_options}"
command_fsmcl = "#{java_bin} -cp #{classpath} galatea.agent.BehaviorManager -c #{@runner_tmp_dir}/gdm.conf"
command_ammcl = "#{java_bin} -cp #{classpath} galatea.agent.MacroCommandLayer -c #{@runner_tmp_dir}/gdm.conf"
command_par   = "#{java_bin} -cp #{classpath} galatea.agent.Par -c #{@runner_tmp_dir}/gdm.conf"
command_fsm   = "cd #{p('fsm.galateafsm.engine_dir')}; ./fsm -C #{@runner_tmp_dir}/fsm.conf"
command_ssm   = "cd #{p('ssm.gtalk.engine_dir')}; /usr/bin/padsp ./gtalk -C #{@runner_tmp_dir}/ssm.conf"
%>
#------------------------------------------------------------------
broadcast: AM-MCL FS-MCL PAR DM
#------------------------------------------------------------------
module:DM     commands: <%= command_dm %>
module:FS-MCL commands: <%= command_fsmcl %>
module:FSM    commands: <%= command_fsm %>
module:SSM    commands: <%= command_ssm %>
module:AM-MCL commands: <%= command_ammcl %>
module:PAR    commands: <%= command_par %>
#----- EOF --------------------------------------------------------
