Dec
09

We started to work on some projects, and after getting the source code, we could not use the web projects in eclipse because they were not defined as Eclipse Dynamic Web projects. Here is a small trick to convert these general projects to Dynamic Web projects.


First change your perspective to Resource and check your .project file if natures tag also contains facet nature:

    <natures>
        <nature>org.eclipse.jdt.core.javanature</nature>
        <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
    </natures>

And second update your project facets by Project Properties/Project Facets/Add Remove Project Facets:

eclipse_prj_facet

So you can use and add this new web project to Tomcat server.

Note: We still use older Eclipse version 3.2.2 because of some custom plugin problems :(

Category: java  Tags:
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>