wml

Z:Eclipse 将 project 转换成 Dynamic Web Project

在使用eclipse +  WTP 时 ,为了使server 能够识别出project ,需要将 project 转换为 Dynamic Web Project,转了别人一篇帖子

1、编辑工程的.project文件:

添加

<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>

<natures>

</natures>

例如将

<natures>
    <nature>org.eclipse.jdt.core.javanature</nature>
</natures>

更改为:

<natures>
    <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
    <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
    <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
    <nature>org.eclipse.jdt.core.javanature</nature>
</natures>


2、选中项目右键,选择“property属性”,在右窗口选择“project facets项目构面”,然后选择“动态WEB”模块,根据提示选择要加的其它内容。

posted on 2009-12-10 12:23 wml 阅读(328) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: