posts - 122,  comments - 25,  trackbacks - 0
原文: http://wiki.igniterealtime.org/display/WILDFIRE/Build+Openfire+with+Eclipse

Setup Wildfire

Install jdk-1_5_0_06-windows-i586-p.exe (or just copy the files to
%programfiles%\Java so you're registry is not modified)
Extract eclipse-SDK-3.1.2-win32.zip to C:\Tools\
Start C:\Tools\eclipse\eclipse.exe and set
Workspace to C:\ws\eclipse\workspace\
If start fails because no javaw.exe is found add
%programfiles%\Java\jdk1.5.0_06\bin to the PATH
variable manually and start it
Close the Welcome screen
Menu Window, Preferences; Java, Compiler:
"Compiler Compliance Level:" 5.0
Exit Eclipse
Extract wildfire_src_2_4_4.jar to C:\ws\eclipse\workspace\
Start Eclipse
Select File, New, Project;
Java Project Next;
Project Name "wildfire_src" (JDK Compliance and
Projct layout will get disabled) Next;
Finish
Menu Window, Show Wiew, Ant;
Right click in "Ant", "Add Buildfiles"
Select wildfire_src\build\build.xml
Double click "all" ... and wait to complete the build

Debug Wildfire 3.1.1

Menu Run, Debug ...: New

Main

Project: wildfire_src
Main class: org.jivesoftware.wildfire.starter.ServerStarter

Arguments

Program Arguments:
VM Arguments:
-DwildfireHome="${workspace_loc:wildfire_src}/target/wildfire"
Working Directory
[x] Use default working directory
Workspace: ${workspace_loc:wildfire_src}

Classpath

Advanced ... Add Folders OK
wildfire_src/resources/i18n OK
Advanced ... Add Folders OK
wildfire_src/src/resources/jar OK

Apply
Debug

posted on 2007-06-26 17:03 josson 阅读(311) 评论(0)  编辑  收藏 所属分类: 即时通讯

只有注册用户登录后才能发表评论。


网站导航:
 
<2007年6月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

常用链接

留言簿(3)

随笔分类

随笔档案

收藏夹

搜索

  •  

最新评论

阅读排行榜

评论排行榜