facebook

MyEclipse-Struts properties page

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #204408 Reply

    cmcbrien
    Member

    I just upgraded to 2.7GA by uninstalling RC2 and doing a clean install of GA.

    Now when I right-click on my web project select properties and MyEclipse-Struts, it shows a red X and the message “Invalid Base Package Specified”. In the edit field for Base Package there is “/Web Root”, which is also what is shown in the field Web-root Folder.

    When I try to click on another property page I get a dialog that says “The currently displayed page contains invalid values”. I have to press cancel on the properties dialog to get out.

    When I type the name of a java package into the Base Package field, it is happy, and the error goes away.

    This looks like something might become broken when installing GA over existing web projects.

    #204409 Reply

    Riyad Kalla
    Member

    cmcbrein,
    Thank you for reporting this, we will look into it ASAP; however, we haven’t experienced this internally while updating our builds.

    #215232 Reply

    leemari
    Member

    Have you found a solution to this, I am getting exactly the same problem with 3.8.1.

    #215250 Reply

    Riyad Kalla
    Member

    leemari,
    What is your MyEclipse Build ID (Window > Prefs > MyEclipse) and your Eclipse Build ID (Help > About)?

    Also please tell me the values you have under your MyEclipse-Web and MyEclipse-Struts property pages so I can see if I can reproduce this locally.

    #215312 Reply

    leemari
    Member

    MyEclipse Build ID : 200408201200-3.8.1+QF20040825
    Eclipse Build ID : 200406251208

    Values you have under your MyEclipse-Web :
    Web-root folder = /WebRoot
    Web context root = /my top level project folder

    MyEclipse-Struts property pages :
    Web-root folder : /WebRoot
    Struts configuration path : See web.xml
    Struts Version : Jakarta struts 1.1
    Servlet : action
    Action pattern : *.do
    Base Package : /WebRoot

    #215339 Reply

    Riyad Kalla
    Member

    leemari,
    Two settings that I see are incorrect (not your fault, we should be more clear what they are):

    1) Web context root = this is the path in your app server that your application will be deployed to, for example to have your app deployed to http://localhost:8080/myapp, you would set this value to “/myapp”
    2) Base package = this is the base Java package for generated struts classes to go into, this should be something like “com.yourcompany.struts”

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: MyEclipse-Struts properties page

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