Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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>
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
377 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...