facebook

Problem checking out struts project-not recognized as struts

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

    I had the 3 web projects built using MyEclipse (web, ejb, top) that were struts based (and working) checked into cvs. I then deleted the workspaces after backing them up, and reinstalled eclipse, and upgraded to the latest MyEclipse build that is not beta. Then when I checked those projects back out into the fresh workspace, they are no longer recognized as struts projects, and the add web project or add struts projects capabilities are greyed out. Any ideas what I can do to get back to normal?

    #206067 Reply

    Riyad Kalla
    Member

    Depends on how you checked the projects out, if you checked them out as (literally “Check Out As…” from CVS menu) Web Module Projects you should be able to do the commands you want. You might have checked them out as Java Projects instead. Are you interacting with them from the MyEclipse perspective or Java Perspective?

    This is exactly how I deal with my projects, so an FYI for you is that when you add struts cap, currently there is a bug that it will erase your ApplicationResources.properties file and I *believe* it may alter your web.xml file if the name of the action servlet doesn’t match the one you use in the checkout dialog.

    ALSO note that your Web Context-root will incorrect be set to “/” after this checkout, you will need to fix that and change it back to your old app’s root “/myapp”. All these are known bugs (mostly because what you described is exactly how I work on all my projects) so I’ve run across them a few times.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem checking out struts project-not recognized as struts

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