facebook

Add MyEclispe Web bug – doesn’t save J2EE selection if 1.4

💡
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 Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #226653 Reply

    cbwhitebu
    Member

    Using MyEclispe 3.8.4, Windows XP, Eclipse 3.0.1.

    When I add web capabities to an exting web project, it does not save my J2EE selection if I pick 1.4. Here’s what ends up in the .mymetadata file:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <project-module
    type=”WEB”
    name=”Tttt”
    id=”myeclipse.1110838920220″
    context-root=”/Tttt”
    j2ee-spec=”1.3″
    archive=”Tttt.war”>
    <attributes>
    <attribute name=”webrootdir” value=”<prjroot>” />
    </attributes>
    </project-module>

    #226678

    Riyad Kalla
    Member

    When you create the project, do you end up with the Web 2.3 DTD web.xml file for the Web 2.4 Schema web.xml file in your WEB-INF directory?

    Also, please check your <workspace dir>\.metadata\.log file for exceptions related to the project creation, I wonder if something is happening that is causing it to use the default for some reason?

    #226694

    cbwhitebu
    Member

    I have the 2.4 schema in the web.xml. This only happens if I add web capablities to an exsting project. It works fine when I create a new web project.

    I do have some errors in the log but I don’t think they are related but just in case:

    !ENTRY com.ibm.etools.validation 4 0 Mar 14, 2005 15:49:14.356
    !MESSAGE
    *** ERROR ***: Mon Mar 14 15:49:14 EST 2005 java.lang.ExceptionInInitializerError

    !ENTRY com.ibm.etools.validation 4 0 Mar 14, 2005 15:49:51.580
    !MESSAGE
    *** ERROR ***: Mon Mar 14 15:49:51 EST 2005 java.lang.NoClassDefFoundError

    #226697

    Riyad Kalla
    Member

    This only happens if I add web capablities to an exsting project.

    You mean adding web caps to a 1.4 J2EE project downgrades it to a 1.3 J2EE project?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Add MyEclispe Web bug – doesn’t save J2EE selection if 1.4

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