facebook

Adding struts capabilities

💡
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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #267142 Reply

    Mork
    Participant

    I’ve recently used “Changed workspace” to import a project.

    I have all the project references resolved and all is working fine…..except…

    When I try to add a new Struts action (or anything Struts related), I get errors. If I go to the Project…MyEclipse option, there’s no “Add Struts Capabilities”.

    So, Struts is “in there”, but MyEclipse isn’t happy about it.

    What do I need to do (I’ve tried to remove the struts.jar files and the web.xml file) so I can sync up the Struts part of the project with MyE?

    Thanks very much in advance.

    — M

    #267204

    Riyad Kalla
    Member

    So, Struts is “in there”, but MyEclipse isn’t happy about it.

    Double-check just to make sure. Under the project properties, go to MyEclipse, is the Struts icon lit up?

    Try switching to your Navigator view and looking for the “.mystrutsdata” file in the root of your project, if you open it, what do the contents look like?

    #267259

    Mork
    Participant

    Thanks for your reply.

    If I go to project…properties, there’s nothing there but project “info”. Struts doesn’t appear in any of the tree views.

    —–

    Searching for .mystrutsdata found no files.

    —–

    This project was not created with MyE to begin with, but has a fully functional Struts capability.

    There needs to be some way to have MyE ‘figure out’ what to do based on what’s in there. Some type of wizard, a “Struts Source File Setup Analyzer” or something like that — for when you inherit a Struts project, but don’t go through the (correct) way of setting up the project in MyE to begin with.

    Until then, however, how can I get MyEclipse to not only recognize that Struts is there (since I can’t add struts capabilities from the MyE menu), but actually be able to add new actions and such?

    Thanks very much in advance.

    — M

    #267290

    Riyad Kalla
    Member

    Mork,
    If you right-click on your project and go to properties then expand MyEclipse, do you see a “web” sub-node? The problem might be MyEclipse doesn’t know this is a web project, which is a pre-req for Struts capabilities. You may need to add web capabilities first.

    Also “automatic capabilities” is something that has been on our minds for a while, especially when folks are moving over existing projects into the IDE.

    #267311

    Mork
    Participant

    I was able to add “Web Capabilities” and now I can add Struts capabilities. After doing that, I can use the wizards. Not sure all the package paths match, but I got them as close as possible.

    Thanks for your help.

    — M

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Adding struts capabilities

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