我正在开发一个包含多个应用程序的 JavaEE 系统,这些应用程序由许多项目(EAR、EJB 等)组成。
每当我更改 Enterprise Server 的运行时目标时,我都必须通过 Eclipse 的向导重新配置每个项目,这需要很长时间。
现在我使用一个小脚本来手动更新运行时目标,尽管它说 here :
The target runtime environment is specified in the org.eclipse.wst.common.project.facet.core.xml file in the project's .settings folder. You should not edit this file manually; instead, use the properties window as described in this topic.
为什么我要更改运行时目标名称?
1. 我已经升级了运行时目标。
2. 我团队的另一名成员合作了来自 SVN 的代码,他对目标运行时有不同的名称。
有没有办法将项目配置为使用可以轻松配置的默认运行时目标运行?
最佳答案
可能的解决方法 2:删除 org.eclipse.wst.common.project.facet.core.xml
来自 SVN 并将其名称放入 svn:ignore
属性(property)。
关于eclipse - 有没有办法将 JavaEE 项目配置为使用默认目标运行时运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7545873/