---
title: "Eclipse Marketplace上 安装resin 插件server"
author: "evenfun"
date: "2013-06-29T13:20:06Z"
tags: []
categories: ["互联网"]
slug: "eclipse-marketplace-resin-server"
draft: false
lastmod: "2013-06-29T13:20:06Z"
id: 1896339
url: "https://sunyf.iteye.com/blog/1896339"
---

Resin的eclipse插件，只支持eclipse3.6以上版本，Indigo（eclipse3.7）和以上版本已经实现了resin插件注册。

下面介绍eclipse3.7(我用的版本为eclipse-jee-indigo-SR2-win32)如何自动下载resin plugin，

1、window=&gt;&gt;show views= &gt;&gt;servers  进入servers面板；

2、鼠标右击new&gt;server，或者点击'new server wizard...；

![](http://dl2.iteye.com/upload/attachment/0086/3272/f0c12dba-d051-34dc-9485-66c85e4bf5b6.jpg)  
 3、在New Server 对话框中找不到resin选项；点击'Download additional server adapters' 选项，

![](http://dl2.iteye.com/upload/attachment/0086/3274/22f1f0be-f4a0-3125-9a64-fed8f7a8e25b.jpg)  
 

4、几秒钟后会弹出‘Install New Extension’对话框，有很多要下载的选项，选择'Resin (Java EE Web Profile)  Server'选项，点击next

![](http://dl2.iteye.com/upload/attachment/0086/3276/98123de8-fcf2-38f8-bf40-3e13ad73aa09.jpg)  
 5、弹出框，接受许可条款，进行安装resin插件，安装需要几分钟的时间。  
![](http://dl2.iteye.com/upload/attachment/0086/3284/be65629c-0352-3ec9-8287-a6a214ece6ed.jpg)  
 6、安装完成后，重启eclipse，你将看到resin4.0已经包含在'New Server'对话框中，如下图

![](http://dl2.iteye.com/upload/attachment/0086/3286/46e8804a-5bbc-3ba5-8951-8dcb86a88c0f.jpg)  
 这样resin插件已经成功安装了，可以配置自己的工程进行开发了，

然后，创建resin server，如果本地有，指定Resin Home为本地路径；否则，点击'Download and Install'，eclipse可以自动从网上下载到指定的目录，

![](http://dl2.iteye.com/upload/attachment/0086/3288/e7f1cfac-1e6d-3e12-9e50-141986811960.jpg)  
 下载完毕后，创建Resin server服务，过程和Tomcat一致；

![](http://dl2.iteye.com/upload/attachment/0086/3290/d654981c-938f-359a-a230-383c3672d14a.jpg)

![](http://dl2.iteye.com/upload/attachment/0086/3292/da8974ca-e8cf-3ea4-b93a-6fab5d98bcef.jpg)  
    
PS：对于3.6版本，是不能自动自动注册安装的，这种配置网上有很多的例子。在这里就不多说了。