Web项目从MyEclipse->Eclipse的转换

目标环境:Eclipse JUNO 3.8.2

步骤:

1、转到菜单 Properties -> Project Facets ,选中Dynamic Web Module、Java、JavaScript选项,其余都不选;

2、转到菜单 Properties -> Targeted Runtimes,选中需要部署的服务器,如Apache Tomcat v6.0;

3、转到菜单 Properties -> Deployment Assembly,删除WebContext(Eclipse默认的web根目录)项,Add -> Folder选中WebRoot(原MyEclipse中的web根目录),然后OK。


另外Eclipse中web服务器的配置和工作目录都在.metadata/.plugins/org.eclipse.wst.server.core/或.metadata/.plugins/org.eclipse.wst.server.core/tmp0/下面。

 

posted on 2013-03-25 11:07  大松  阅读(221)  评论(0编辑  收藏  举报