eclipse + resin3 + resion插件 配置 j2ee开发环境

一:下载安装resin插件,下载地址  http://www.improve-technologies.com/alpha/resin/
       安装完成后,重启eclipse,确保插件加载成功。
二:配置resin插件:
       打开eclipse   Window-->Prepferences-->Resin 以下图:

三:新建一个java project 目录以下图: java

 
四:新建一个resin.xml文件,内容以下:把它放到项目的根目录中。 <resin xmlns="http://caucho.com/ns/resin"
             xmlns:resin="http://caucho.com/ns/resin/core">

   <log name="" level="info" path="stdout:"/>

   <server>
       <http server-id="" host="*" port="8096"/>

       <resin:import path="${resin.home}/conf/app-default.xml"/>

       <host id="" root-directory=".">
           <web-app id="/" document-directory="F:\eclipse-indigo\workspace\aaa\webapp"/>
       </host>
   </server>
</resin>
   
五:配置Run Configurations
菜单Run -- >Run Configurations   选择Resin, 右键选择New
Name:输入名称,能够随意起名。
Main选项卡下:
       Project:   选择你的项目
       configFile: 选择你刚才建的resin.xml文件。
Classpath选项卡:
       选择User Entries ,点击  “Add External JARs...”按钮,添加resin根目录下lib文件夹的全部jar包。

通过以上几步,全部配置已经完毕。
相关文章
相关标签/搜索