属性中不显示Eclipse部署程序集 [英] Eclipse Deployment Assembly does not appear in properties

查看:124
本文介绍了属性中不显示Eclipse部署程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的一个新项目中,我无法在项目属性中看到部署程序集链接。
在我的其他项目中,我们以相同的方式进行配置(据我所见)。



我有动态Web模块和java方面。我安装了m2eclipse并调用菜单选项更新项目配置。我正在运行eclipse 3.7 EE版。我也有google eclipse插件。



我想知道的是如何使部署组合件选项出现,所以我可以配置哪些资源被推出到本地服务器WTP。



我的.project文件:

 <?xml version =1.0encoding =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>


解决方案

尝试添加自然> org.eclipse.wst.common.modulecore.ModuleCoreNature< / nature> 到您的.project文件。插件间谍(ALT + SHIFT + F1)非常有助于找出类似的东西。属性页在插件 org.eclipse.wst.common.modulecore.ui 中定义,在plugin.xml文件中可以看到,DeploymentAssemblyPage是 enabledWhen projectNature org.eclipse.wst.common.modulecore.ModuleCoreNature


In a new project of mine I cannot see the Deployment Assembly link in the project properties. It is There in my other projects which are configured in the same way (as far as I can see).

I have dynamic web module and java in the facets. I have m2eclipse installed and invoked the menu option "update project configuration". I am running eclipse 3.7 EE edition. I have google eclipse plugin also.

What I want to know is how to get the deployment assembly option to appear so I can configure which resources are pushed out to local server through WTP.

My .project file:

<?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>

解决方案

Try to add <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> to your .project file. The Plugin Spy (ALT+SHIFT+F1) is very helpful to find out stuff like that. The Property Page is defined in the plugin org.eclipse.wst.common.modulecore.ui and in the plugin.xml file you can see, that the DeploymentAssemblyPage is enabledWhen the projectNature is org.eclipse.wst.common.modulecore.ModuleCoreNature.

这篇关于属性中不显示Eclipse部署程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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