Topic
3 replies Latest Post - ‏2012-04-20T20:27:07Z by Tim_L
Tim_L
Tim_L
12 Posts
ACCEPTED ANSWER

Pinned topic Creating new projects in WEF 7.0.1 - Missing Folders

‏2012-04-16T14:30:41Z |
Hello,

I had a series of projects created in WEF 7.0.1 and deleted them. The files are still on disk, I only deleted the projects from Eclipse. Now I want to recreate the projects, however when I do the layout of the project is different. For instance, there used to be folders for Models, Portlet Models and Profiles, however none of them exist in my new project. Are there files I need to delete prior to recreating the projects? Am I missing a setting on my projects or in Eclipse? The process of creating the project says "Installing Websphere Portlet Factory facet" however the project looks incomplete. Ideas?

Thanks!
Updated on 2012-04-20T20:27:07Z at 2012-04-20T20:27:07Z by Tim_L
  • mburati
    mburati
    423 Posts
    ACCEPTED ANSWER

    Re: Creating new projects in WEF 7.0.1 - Missing Folders

    ‏2012-04-16T17:11:27Z  in response to Tim_L
    I haven't tried deleting/recreating projects like that myself, but it sounds like the top level folders you're talking about are the "virtual" folders in the project explorer view, which are shortcuts down into WebContent/WEB-INF/models, WebContent/WEB-INF/profiles ...

    You can check that those physical folders exist by navigating down into the WebContent/... folder hierarchy.

    The WEF specific project support will only show up if you are currently in the Web Experience Factory "Eclipse Perspective".
    In the Eclipse toolbar at the top of the designer, go to and select Window -> Open Perspective -> Other -> Web Experience Factory and click ok, to open the WEF perspective and see if that fixes up your project explorer view.

    ..mb1
  • gsager
    gsager
    18 Posts
    ACCEPTED ANSWER

    Re: Creating new projects in WEF 7.0.1 - Missing Folders

    ‏2012-04-18T09:51:49Z  in response to Tim_L
    WEF projects contains a nature definition in the project file and there are other config files that are at the top level of the project. It might be easier to create a new project and then replace the webcontent directory. If all the files at the top level of the project are still there but hust the .project file was deleted then you could add <nature>com.bowstreet.designer.webapp.nature</nature>
    to the natures section of the file. That is what tells eclipse to have these extra folders
  • Tim_L
    Tim_L
    12 Posts
    ACCEPTED ANSWER

    Re: Creating new projects in WEF 7.0.1 - Missing Folders

    ‏2012-04-20T20:27:07Z  in response to Tim_L
    Thanks for the new information. I did create a new project and replaced the Web Content and it seems to work now. I will look into the <nature> tag and see where it is for future reference.

    Thanks much!