Tigase源碼在eclipse中搭建

1.下載安裝支持

首先確保已安裝JDK1.7.*和支持Maven的Eclipse(我使用的是4.3版本)。

2.獲取Tigase server源碼 

tigase server工程依賴tigase-xmltools 和 tigase-utils。在eclipse中用git導出tigase-xmltools和 tigase-utils。

git clone https://repository.tigase.org/git/tigase-xmltools.git;

git clone https://repository.tigase.org/git/tigase-utils.git;

eclipse中git導出https會報錯,需要給git的configeration中配置 http.sslVerify = false即可。

導出來的tigase-xmltools工程pom文件報錯,

Plugin execution not covered by lifecycle configuration: org.codehaus.gmaven:gmaven-plugin:1.5:execute (execution: gitver, phase: validate)

處理就OK,ignore就可以了。然後分別run maven instal 安裝到本地倉庫;

git clone https://repository.tigase.org/git/tigase-server.git導出道ecipse,裝換成maven項目,配置etc目錄下得數據庫文件。

創建數據庫文件可以用工程下得scripts/db-create-mysql.sh創建。


發佈了24 篇原創文章 · 獲贊 4 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章