如何更改默认的Eclipse WTP“Web资源”动态文件夹 [英] How to change default Eclipse WTP "Web Resources" dynamic folder

查看:139
本文介绍了如何更改默认的Eclipse WTP“Web资源”动态文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要更改默认的Eclipse WTPWeb资源动态文件夹。目前它指向WebContent,我需要指向src\main\webapp。

I need to change the default Eclipse WTP "Web Resources" dynamic folder. Currently it points to WebContent, and I need to point to src\main\webapp.

推荐答案

我找到了解决方案:
在项目文件夹中的.settings文件夹下,有一个名为org.eclipse.wst.common.component的文件,其中更改行< wb-resource deploy-path = /source-path =/ WebContent/> < wb-resource deploy-path =/source-path =/ src / webapp/>

I found the solution: Under .settings folder in your project's folder, there is a file named "org.eclipse.wst.common.component", inside it change the line <wb-resource deploy-path="/" source-path="/WebContent"/> with <wb-resource deploy-path="/" source-path="/src/main/webapp"/>.

这就是!

这篇关于如何更改默认的Eclipse WTP“Web资源”动态文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆