facebook

‘WebProject Configuration’ grayed out…

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

    ErikEngerd
    Member

    Hi,

    I want to convert an existing Java project to a web project using the
    menu “MyEclipse/Webproject configuration”. Unfortunately, this does not work because this menu item is grayed out.

    Info:
    * project: an existing EJB project with Xdoclet configuration but without
    any EJB files. I intend to develop a servlet/JSP application which will also
    use EJBs in the long run.
    There are multiple source and output directories.
    * Eclipse version: 2.1.1
    * MyEclipseWorkbench version: 2.5.1 (I think, MyEclipse/About MyEcliipse does not give the version number.

    What could be the cause of these problems?

    Cheers
    Erik

    #198393 Reply

    Scott Anderson
    Participant

    Erik,

    The reason the menu is grayed-out is that you can’t convert an EJB project into a Web project. We keep the projects seperate so that we can exactly mirror the classloader structures that will be used in your production deployment. If we allowed everything to be mixed in one project you’d have a very high risk of building something that compiles fine, but can’t load the classes it needs at deployment.

    I intend to develop a servlet/JSP application which will also
    use EJBs in the long run.

    Then I’d suggest using our EAR project wizard and having it use your existing EJB project while creating a new Web project for your use. You can do this because when you run the wizard, you’ll have the option of either creating new EJB and Web projects or using existing ones.

    MyEclipseWorkbench version: 2.5.1 (I think, MyEclipse/About MyEcliipse does not give the version number.

    To get the version number, go to Help > About Eclipse Platform and click on the MyEclipse feature icon. That will show the features and their version numbers.

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: ‘WebProject Configuration’ grayed out…

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