`
gwh_08
  • 浏览: 335333 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Spark SVN + Eclipse 3.3 + Subversive Installation Guide

阅读更多

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 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 the Arguments tab.

  • Enter --Dappdir="${workspace_loc:spark}/target/build" in the VM arguments box.

  • Click on Common tab.

  • Select the Debug and Run check box.

  • Click on Apply button.

  • Click on Close button.

Run/Debug

  • The setting is now complete for Spark.

  • You may test running and debugging by clicking on Run::Run History::Spark and Run::Debug History::Spark respectively. If you choose the later and if you follow this instruction closely, execution will stop in the main method of Startup.java .

分享到:
评论

相关推荐

    Myeclipse6.0+eclipse3.3下安装svn插件操作说明

    Myeclipse6.0+eclipse3.3下安装svn插件操作说明

    SVN+Eclipse环境搭建

    SVN(Subversion)是一种版本...总之,搭建SVN+Eclipse环境是Java开发中的基础工作,它使得团队能够高效地协作,跟踪代码变更,以及方便地进行版本控制。掌握这一技能,对于提升开发效率和保证项目质量具有重要意义。

    Eclipse3.3 svn插件

    标题提到的"Eclipse3.3 svn插件",指的是为Eclipse 3.3版本特别适配的Subversion支持。Subversion是一款开源的版本控制系统,用于管理源代码和其他内容的变化,帮助多人协作开发时保持代码的一致性和可追溯性。...

    svn+eclipse插件+客户端+subversion-权威指南

    subversion-1.6.17.zip site-1.6.18.zip TortoiseSVN-1.7.5.22551-win32-svn-1.7.3.msi svnbook-1.6-zh-r3600.pdf Windows开机自动启动SVN服务.doc

    svn+eclipseSvn插件.rar

    "svn+eclipseSvn插件.rar" 文件很可能是包含了安装和配置 SVN 插件到 Eclipse 的步骤和资源。 1. **SVN简介**:SVN代表Subversion,由CollabNet公司开发,用于跟踪文件和目录的修改。它允许团队成员协同工作,同时...

    eclipse离线svn插件:Subversive+Subversive SVN Connectors

    离线手动方式安装 eclipse的svn插件 Subversive和 Subversive SVN Connectors: 1.eclipse版本为Mars(4.5); 2.插件1:Subversive-3.0.4.I20160131-1700.zip 插件2:Subversive-connectors-5.0.0.I20150529-1700....

    CentOS7下svn+tomcat9.0+maven3.3+jenkins实现web项目自动构建与远程发布

    本教程将详细介绍如何在CentOS7操作系统上,利用Subversion(svn)、Tomcat 9.0、Maven 3.3以及Jenkins来实现Web项目的自动构建和远程发布。这一流程能够帮助开发者在代码提交后快速地进行构建、测试和部署,降低...

    maven+svn+eclipse插件安装及环境搭建

    4. 安装SVN插件:同样在Eclipse Marketplace中,搜索"subversive"或"subclipse",选择适合的版本安装,重启Eclipse。 5. 配置SVN:在`Window > Preferences > Team > SVN`中,添加SVN的Connector和 SVNKit(如果需要...

    svn服务器端+客户端+eclipse插件

    Subversive 和 Subclipse 是两种常见的Eclipse SVN 集成插件,它们将SVN的功能无缝地整合到Eclipse IDE中,允许开发者在不离开IDE的情况下进行版本控制操作。Subversive 提供了与Eclipse平台更紧密的集成,而...

    SVN培训课件,详细讲解如何使用svn+eclipse

    SVN,全称为Subversion,是一种广泛应用于软件开发领域的版本控制系统。它允许团队成员协同工作,管理和跟踪项目中的文件和目录的变化。以下是关于SVN及其使用的详细解释。 首先,了解为何需要配置管理软件至关重要...

    jenkins+svn+maven+java-配置+安装+部署(windows版)

    ### Jenkins + SVN + Maven + Java 自动化部署详解(Windows版) #### 一、Jenkins 安装与配置 **1. Jenkins 安装** - **下载安装**: 首先,从官方网址 (https://jenkins.io/download/) 下载最新的Jenkins安装包...

    GoogleCode+SVN+Eclipse项目版本控制指导

    说明如何在Eclipse中通过插件进行便捷项目的版本控制,同时附加GoogleCode的项目库使用说明,通过三者的结合可以很快的建立版本控制系统,方便开源项目等非局域网项目的版本控制

    Jenkins+Maven+SVN+Tomcat 持续集成环境快捷部署

    搭建Jenkins+Maven+SVN+Tomcat的持续集成环境,需要按照以下步骤: 1. 环境准备 - JDK1.8.0_131,版本不低于1.7,使用最新版本以获得最佳性能和最新特性。 - Apache Maven 3.3.9,不推荐使用3.5.0版本,以免出现...

    eclipse3.3中文包

    而Subversive或Subclipse插件则提供了对版本控制系统SVN的支持,方便团队协作。 对于初学者而言,Eclipse 3.3中文包的使用可以降低学习曲线,更快地融入开发环境。同时,Eclipse 3.3的API和插件系统也为有经验的...

    Postman+Tomcat8+eclipse的SVN+MAVEN离线安装包

    Eclipse-svn-plugin是Eclipse中的一个插件,用于集成Subversion(SVN)版本控制系统,允许开发者在Eclipse环境中进行版本控制操作,如代码的提交、更新、比较和合并。 【Maven】 Maven是Apache下的一个项目管理工具...

    Eclipse 3.3 中文PERL插件

    **Eclipse 3.3 中文PERL插件** Eclipse 是一款强大的集成开发环境(IDE),被广泛用于Java开发,但通过安装各种插件,它也可以支持其他编程语言,如Perl。在Eclipse 3.3版本中,开发者可以找到适合中文用户的PERL...

    eclipse3.3中文包.rar

    - **版本控制**:Eclipse集成了多种版本控制系统,如SVN、Git等,便于团队协作和代码版本管理。 - **构建工具**:通过插件如Maven或Ant,Eclipse能够自动化构建项目,生成可部署的JAR或WAR文件。 4. **Eclipse ...

    SVN管家V3.3

    SVN管家是SVN俱乐部(SVNCLUB)的基于apache+svn研发的产品,该产品只要安装apache就可运行。 SVN管家 有用户注册,用户中心(包含用户修改密码,用户查看自己权限等),管理中心(创建、删除版本库,创建用户、修改...

    svn客户端+eclipse插件

    6. 从列表中找到与SVN相关的条目,通常名为“Subversive”或“Subclipse”,选中它。 7. 完成选择后,点击“下一步”(Next),接受许可协议,然后点击“完成”(Finish)开始安装。 8. 安装过程中可能需要重启...

Global site tag (gtag.js) - Google Analytics