This repository was archived by the owner on Oct 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Document
jdkcn edited this page Apr 21, 2013
·
1 revision
- Deploy the war into your container.
- Copy the WEB-INF/classes/config.json.sample to config.json.
- Change the configuration to your robots.
{
"robots":[{
"name":"hr-robot",
"username":"jabberer.bot@gmail.com",
"password":"yuanyuan",
"host":"talk.google.com",
"port": 5222,
"robot.status.message":"Just a sample java jabber robot.",
"send.offline.message":true,
"administrators":["admin@example.com"]
},{
"name":"staff-robot",
"username":"staff@example.com",
"password":"xxxxx",
"host":"example.com",
"port": 5222,
"robot.status.message":"Just a another sample java jabber robot.",
"send.offline.message":true,
"administrators":["admin@example.com"]
}],
"administrators":[{
"username":"tester",
"password":"tester",
"manage.robots":["hr-robot","staff-robot"]
},{
"username":"staff",
"password":"staff",
"manage.robots":["staff-robot"]
}],
"version":"0.9.0"
}