Spark,是一个不错的Jabber客户端,跟openfire出自同一个地方,可以说是跟openfire成为一套功能强大的即时通讯软件,特别是它是免费而且是开源的,你完全可以把它打造成自己的客户端.下面是介绍如何用eclipse来调试spark,同样也是来自Ignite Realtime 社区.

Spark SVN + Eclipse 3.3 + Subversive Installation Guide
VERSION 3 Published
Created on: Aug 23, 2007 2:06 PM by aznidin - Last Modified:  Aug 27, 2007 8:49 PM by aznidin
This guide assumes that you are installing everything from scratch. If you've done some parts of them, this guide may still be useful. I compile this guide to the best of my knowledge. I apologize if it doesn't work for you.

Notes:

This guide assumes that you want the latest updates of the source i.e. from the project's trunk directory. If you only want the released/stable version, checkout the desired release from under the tags directory.

--------------------------------------------------------------------------------

Install JDK
Download JDK and install them. The least version should be 1.5. I use 1.6. Sorry, no instruction for this.
Install Eclipse 3.3
Download Eclipse 3.3 from http://www.eclipse.org/. I use Eclipse IDE for Java EE Developers. You should at least use Eclipse IDE for Java Developers.
Extract the downloaded zip file into C:/Program Files/Eclipse.
Open C:/Program Files/Eclipse folder.
Right click and drag eclipse.exe on to your desktop (or Windows taskbar) to create a shortcut icon.
Right click the shortcut icon and choose Properties. The Eclipse Properties window will show.
The Target textbox should read something like this "C:\Program Files\Eclipse\eclipse.exe" -vm "C:\Program Files\Java\jdk1.6.0\bin\javaw" depending on the JDK that you use and where you installed it.
Close the Eclipse Properties window.
Install Subversive Plugin
Double-click the shortcut icon to start Eclipse.
Select/enter your preferred workspace and click OK to open Eclipse main IDE window.
Click on the Workbench icon to close the welcome screen.
Click Help::Software Updates::Find and Install... menu.
Click on Search for new features to install and click Next.
Click on New Remote Site... button.
Enter Subversive in the Name box and http://www.polarion.org/projects/subversive/download/1.1/update-site in the URL box (Check the latest URL from http://www.eclipse.org/subversive website), then click OK.
Click Finish to install Subversive. Eclipse will search for the update site and show the result in a next window where you will select the features to install. I choose everything under Subversive SVN Team Provider Plugin and Subversive Client Libraries.
Click Next to continue and so on until the installation ends. You normally want to restart Eclipse when the installation ends.
Check Out Spark SVN
Click Windows::Open Perspective::Other... menu.
Click on SVN Repository Exploring on the Open Perspective window and click OK.
Right-click on SVN Repositories screen and choose New::Repository Location...
On New Repository Location enter http://svn.igniterealtime.org/svn/repos in the URL box and click Finish. You'll see the URL location in the SVN Repositories screen.
Expand the URL location.
Expand the spark tree.
Right-click on trunk and choose Check Out. Make yourself some Mocha while waiting for the checkout to complete. 
Create Spark Project
Click Window::Open Perspective::Java menu.
In the Project Explorer screen, if there is a spark project, delete it. This project was created during the Spark check out process. Yes you read it correctly, DELETE the project!!! Otherwise you'll have to setup your Spark development environment manually. On the Confirm Project Delete choose Do not delete contents, then click Yes.
Click File::New::Project... Notice the ellipses!!!
Select Java::Java Project and click Next.
On the New Java Project window choose Create project from existing source and browse to where spark folder is located under your workspace.
In the Project name box enter exactly as spark. Otherwise, the Next and Finish button remain disabled. Click on Next. Eclipse will read the directory structure to setup the environment automatically (almost) for you and you can see what it does on the next screen. Then click on Finish.
If the Open Associated Perspective windows opens, click Yes.
Build Spark
Click Window::Show View::Ant menu.
Right-click the Ant screen and choose Add Buildfiles...
Expand the spark::build folder and select build.xml, then click OK.
On the Ant screen, expand the Spark and double-click on release ant task. The build may fail because you're checking out the daily updates of Spark sources, which may contain bugs. If so, wait for another day and hope that the developers discover and fix the bug; or you might dare to fix it yourself. During this first time setup, a successful build is necessary before you can proceed with the remaining tasks below.
Create Project Builder
Click Run::Open Run Dialog... or Run::Open Debug Dialog... menu. A Run window shows.
Select Java Application and click on the New button.
On the Main tab of the Run window, change the New_configuration name to Spark or anything you like.
Click on Project::Browse button and select spark and click OK.
Click on Main class::Search button and select Startup - org.jivesoftware.launcher and click OK.
I'd suggest that you select Stop in main check box so that you could later verify that debugging works.
Click on Classpath tab.
Select User Entries so that the Advanced... button will be enabled.
Click on the Advanced... button.
On the Advanced Options window select Add Folders and click OK.
On the Folder Selection window select spark::src::resources folder and click OK.
Click on Common tab.
Select the Debug and Run check box.
Click on Apply button.
Click on Close button.

转载于:https://www.cnblogs.com/hannover/archive/2010/09/28/1837249.html

Spark SVN + Eclipse 3.3 + Subversive Installation Guide相关推荐

  1. Symantec Backup Exec Remote Agent for Linux/Unix Servers Installation Guide

    Symantec Backup Exec Remote Agent for Linux/Unix Servers Installation Guide [root@test testdb]# scp ...

  2. Eclipse中安装Subversive (Subversion的对应模块)

    为了完成SVN的代码保存部分,先到了这个Eclipse的网址,是subversive的网址: http://www.eclipse.org/subversive/downloads.php 然后在网页 ...

  3. win10 spark+scala+eclipse+sbt 安装配置

    转载请务必注明原创地址为:http://dongkelun.com/2018/03/... 1.首先安装配置jdk1.8以上,建议全部的安装路径不要有空格 2.安装spark 2.1 下载 下载地址: ...

  4. svn提示服务器禁止修改目录,SVN Eclipse插件中如何忽略对服务器已有文件修改后的提交...

    忽略分为两种情况. 1.服务器还不存在该文件/文件夹,提交的时候忽略. 2.服务器已经存在该文件/文件夹,提交的时候忽略. 第一种情况比较好处理. (svn:ignore) 1.1右键点击要忽略的文件 ...

  5. wamp2 php配置,Wamp2+SVN+Eclipse配置_PHP教程

    准备wamp2 svn-1.4.6,TortoiseSVN-1.4.8,LanguagePack-1.4.8.12137-win32-zh_CN.exe 1. 安装wamp2 2. 安装Tortois ...

  6. Maven + Nexus + SVN + Eclipse 配置步骤说明

    一.软件及环境 1.  软件 1.1   jdk-6u11-windows-i586-p.exe 1.2   eclipse-jee-indigo-SR2-win32.zip 1.3   nexus- ...

  7. Hive 2.3.2 Installation Guide

    Apache Hive是一个建立在Hadoop架构之上的数据仓库.它能够提供数据的精炼,查询和分析.Hadoop之前已经安装好了(Hadoop database安装手册),本文主要描述如何安装配置hi ...

  8. RedHat Directory Server 8.2 Installation Guide

    RHDS是一套基于openldap的目录服务,当前可在官方下载的最新版本是8.2,不过下载下来的都是源代码rpm软件包,需要编译成二进制rpm软件包.我这里已经编译好了,总共12个软件包,已经包含了依 ...

  9. Greenplum installation guide

    Envireronment: VMware® Workstation 12 Pro 12.0.1 build-3160714(Host: Windows 7 Ultimate) Centos 6.5 ...

  10. Ubuntu Mint Installation Guide

    http://forum.ubuntu.org.cn/viewtopic.php?f=28&t=273647 喀纳斯Ubuntu 10.04中文定制版是由喀纳斯自由软件专卖店根据用户的需要制作 ...

最新文章

  1. 94.二叉树的中序遍历
  2. 为什么 Python 会成为程序员害怕的编程语言?
  3. [转[c++]从int转换成string
  4. DPDK virtio的不同路径(二十七)
  5. SD--RV_accounting_document_create函数的代码解读
  6. JavaScript进阶1-学习笔记
  7. ddr4服务器内存频率_镁光出样DDR5内存;紫光发布P5160系列SSD!
  8. Xcode版本更新后插件失效解决办法
  9. linux 5识别网卡,CentOS 5.5系统识别不了Atheros AR8151网卡怎么办?
  10. 基于javaweb(springboot+mybatis)网站建设服务管理系统设计和实现以及文档报告设计
  11. vue学习笔记之:为何data是一个方法
  12. 盲审不到4分的论文竟中了ICLR 2019??!!ICLR 2019官方这样回应
  13. Python中的可变与不可变对象
  14. 1 Linux挂载光盘与U盘
  15. 【观察】UCloud:决胜东南亚“正当时”,做出海企业“加速器”
  16. 前端失业 3个月,尝试接私单的感触
  17. 结构光的概念及其实现三维成像的主要原理
  18. 耐得住寂寞,是一种境界和品味
  19. excel中求某个日期是第几周
  20. Unity 3D模型动画导出为帧序列

热门文章

  1. Sqlserver2012卸载
  2. 离散数学杜忠复版答案_离散数学(第二版)课后习题答案详解(完整版)
  3. 离散数学思维导图笔记
  4. springboot健康饮食管理系统
  5. android 投屏原理图,手机投屏是什么原理
  6. 谭浩强c语言程序设计 在线,C语言程序设计_谭浩强.pdf
  7. flash文件怎么打开 怎么将swf格式转换成avi视频
  8. 电网调度计算机系统目前有三种,电力系统知识问答(三)
  9. C++ HOOK实现全局键盘钩子的详细过程
  10. 云南昭通暴雨强度公式_全国暴雨强度公式2018