天天看點

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建立。

Tigase源碼在eclipse中搭建
Tigase源碼在eclipse中搭建