demo.config

来自「SRI international 发布的OAA框架软件」· CONFIG 代码 · 共 81 行

CONFIG
81
字号
#------------------------------------------------------
appname Facilitator
facilitator
appdir ../facilitator
appline ${FAC} -oaa_listen tcp('${Host}',${Port})
oaaname root
end
#------------------------------------------------------
appname Debug Interface
oaaname oaa_debug_agent
appdir ../debug
environment CLASSPATH=${OAACP}${PATHSEP}jar/oaa2debug.jar
appline java com.sri.oaa2.agt.debugAgent.AppDebug -oaa -oaa_connect ${OaaConnect}
end
#------------------------------------------------------
appname DCG-NL
oaaname nl_parser
appdir ../dcg_nl
environment OAA_CONNECT=${OaaConnect}
appline ${NL} ${testwords} ${gramfile}
	toggle	testwords	Use built-in test words?
	  true-value -test_words
	end
	text-menu gramfile	Grammar file:
	  option dcg_nl_grammar.pl
	  value dcg_nl_grammar.pl
	  prefix "-grammar_file "
	end
end
#------------------------------------------------------
appname WebL: Weather
oaaname webloaa_weather
appdir .
environment CLASSPATH=${OAACP}${PATHSEP}${JARPATH}/WebL.jar${PATHSEP}${JARPATH}/oaa2webl.jar
appline java -DOAA_CONNECT=${OaaConnect} com.sri.oaa2.agt.webloaa2.OaaWebL ${debug} ${log} ${perf} -P ${weblfile}
	text	weblfile Webl weather file:
	  dev
	  value ${SAMPLES_WEBL}oaa2weather.webl
	end
	toggle	debug	Print	Debug output?
	  true-value -D
	end
	toggle-text 	log	Debugging log file:
	  false-label (none)
	  prefix -L
	end
	toggle perf	Print 	Performance on exit?
	  true-value -P
	end
end
#------------------------------------------------------
appname WebL: Employees
oaaname webloaa_empl
appdir .
environment CLASSPATH=${OAACP}${PATHSEP}${JARPATH}/WebL.jar${PATHSEP}${JARPATH}/oaa2webl.jar
appline java -DOAA_CONNECT=${OaaConnect} com.sri.oaa2.agt.webloaa2.OaaWebL ${debug} ${log} ${perf} -P ${weblfile}
	text	weblfile Webl employee file:
	  dev
	  value ${SAMPLES_WEBL}oaa2empl.webl
	end
	toggle		debug	Print debug output?
	  true-value -D
	end
	toggle-text 	log 	Debugging log file:
	  false-label (none)
	  prefix -L
	end
	toggle perf	Print 	performance on exit?
	  true-value -P
	end
end
#------------------------------------------------------
appname OAA Monitor
oaaname oaa_monitor
appdir ../monitor
environment CLASSPATH=${OAACP}${PATHSEP}jar/oaa2monitor.jar
appline java com.sri.oaa2.agt.monitor.AppMonitor -oaa -oaa_connect ${OaaConnect}
end
#------------------------------------------------------

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?