resin 修改自动部署路径

修改eclipse中server的配置文件resin.conf


<web-app id="/" document-directory="webapps/ROOT" />
后加入
<web-app id="/riskweb" document-directory="D:\workspace_risk_01\riskweb\WebContent" />

修改eclipse中resin插件中的文件
myDropins\resin\plugins\com.caucho.resin.eclipse_4.0.2\buildfiles\resin31.xml

内容为:
<project name="deployextension"  default="deploy.j2ee.web"  basedir=".">
  <target name="deploy.j2ee.web">
<echo>something has changed.</echo>
  </target>
</project>

删除eclipse 中configuration 中 update 文件包 重启 eclipse

你可能感兴趣的:(eclipse)