facebook

Enabling Capabilities on Web Projects

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #274233 Reply

    Hi:
    I have recently installed ME 6.0GA and was trying to enable the Struts capabilities on one web project and JSF capabilities on another. It seems that on both projects that the enablement of Struts capabilities is disabled on one and enablement of JSF is also disabled on another. Is there something that I am not getting? Is it possible that since I am using a workspace that was using ME 6.0M1 caused this? Please advise…..

    #274321

    Riyad Kalla
    Member

    Mike, are these projects plain Java projects by chance? If you see “Add Web Project Capabilities” in that menu OR if you open the project properties and go to the MyEclipse tab, and the “web” icon is grayed out, then they are just plain Java Projects and need to be converted to Web Projects first.

    #274368

    Hi Riyad:
    what I am seeing is this:
    1) I create a new ‘plain’ web project using the new web project wizard.
    2) I then go to MyEclipse -> Capabilities
    what I see is that the struts capabilities are grayed-out, but JSF capabilities are not.

    #274370

    I then created a brand new workspace from scratch. I did the same thing as above (creating a new web project, etc.). This time I am seeing the struts and jsf capabilties grayed-out now.

    #274376

    Riyad Kalla
    Member

    Mike, thanks for the detail… sounds like some state in the old workspace is screwing things up. Try and restart using -clean (https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/) and open that old workspace, see if things fix themselves up,

    #274414

    H Riyad:
    I tried this and it still seems to be giving me trouble. Any help? Do you think that ME 6.0 may not play nice with other plugins??

    #274415

    Riyad Kalla
    Member

    What other plugins do you have installed? To get a better (concise) overview you can check under Help > Software Updates > manage Configuration.

    Do you have WTP installed/activated?

    One last step would be to:

    1. Shut down MyEclipse
    2. Uninstall it
    3. Manually go erase the dir it was installed to.
    4. Download the 6.0 GA All in One installer
    5. Reinstall to the empty location, run once it’s installed and open your old workspace.

    If *that* doesn’t work, you can use the tips (here: https://www.genuitec.com/forums/topic/troubleshoot-how-to-create-a-clean-workspace/) to create a new workspace.

    It is very possible the workspace has gone south. It happens every once in a while.

    #274656

    OK, I went ahead and deleted the .metadata folder in my workspace, and deleted the configuration file in the eclipse install configuration directory (keeping the config.ini file, of course). Then, I started up eclipse and then imported the projects using the import wizard. Looks OK, now.

    #274674

    Riyad Kalla
    Member

    Mike I’m glad it’s working now… not sure what went wrong in the depths of the .metadata folder though.

    #274726

    Hello Riyad:
    Yeah, still seems a little dicey. I am afraid now the only way to get it to work consistently with any new project is to blow away the config directory before starting up Eclipse.

    #274743

    Riyad Kalla
    Member

    Mike,
    You are saying that it’s not working again, or are just saying that you are worried you may have to do this in the future? This is not something I’ve seen happen before, so I doubt it’s going to be a common battle for you if your install is valid and workspace clean. But I have certainly seen Workspaces go bad before… that can manifest itself in *a lot* of different ways.

    #274948

    Riyad:
    I think that I have to definitely report this as a bug. I just cannot get the Struts capabilities to be added to a new web project now no matter what I do. Can you work with me on this one?

    Mike

    #275022

    Riyad Kalla
    Member

    Mike,
    Absolutely… we’ll get something figured out here.

    Let’s start easy, and a lot of these things you have already tried, but humor me as we go through them again just to make extra sure.

    1. Let’s try a new workspace first: File > Switch Workspace > C:\tempworkspace. Hit OK to restart. Then create a new Web project, then right-click on the root of it, go down to MyEclipse and try and add Struts caps. Did that work? If it *didn’t* work, please open the project properties and go to the MyEclipse preference node, and tell me which icons are lit up.

    #275064

    OK, I tried it and the only icon lit up was web capabilities

    #275094

    Riyad Kalla
    Member

    And when you right-click on the project, and go to MyEclipse, struts is grayed out, or not listed?

    Also if you select the project and go up to the MyEclipse menu, is it the same thing?

    If YES to both of those, please go to Help > Software Updates > Manage Configuration, and expand all the root level nodes… what products are listed? Do any have red error markers on them?

Viewing 15 posts - 1 through 15 (of 18 total)
Reply To: Enabling Capabilities on Web Projects

You must be logged in to post in the forum log in