【发布时间】:2012-01-14 01:17:01
【问题描述】:
在我的一个新项目中,我在项目属性中看不到部署程序集链接。 它在我的其他项目中以相同的方式配置(据我所知)。
我在方面有动态 Web 模块和 java。我安装了 m2eclipse 并调用了菜单选项“更新项目配置”。我正在运行 eclipse 3.7 EE 版。我也有 google eclipse 插件。
我想知道的是如何让部署程序集选项出现,这样我就可以配置哪些资源通过 WTP 推送到本地服务器。
我的 .project 文件:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>shortbread</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.google.gdt.eclipse.core.webAppProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.google.gwt.eclipse.core.gwtProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>com.google.gwt.eclipse.core.gwtNature</nature>
</natures>
</projectDescription>
【问题讨论】:
-
我也遇到了同样的问题,你找到解决办法了吗?
标签: java eclipse maven m2eclipse