1.git clone 項目代碼 java
https://repository.tigase.org/git/tigase-server.git mysql
2.eclispe 導入工程 git
注意:5.2後要用jdk7,否則編譯錯誤 sql
3.配置啓動 apache
用java application 調試,配置調試 app
Main Class: tigase.server.XMPPServer
Program arguments: --property-file etc/init.properties
VM arguments:
-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
-Djdbc.drivers=com.mysql.jdbc.Driver:org.postgresql.Driver:org.apache.derby.jdbc.EmbeddedDriver
-server -Xms100M -Xmx200M -XX:PermSize=32m -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=128m eclipse
若是db配置成mysql,VM arguments增長相關驅動包引用
-Djava.ext.dirs=E:\workspace_indigo\tigase-server\jars post
參考:http://www.tigase.org/content/hack-tigase-jabberxmpp-server-eclipse spa