facebook

EAR project – wizard does not create modules in application.

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #239188 Reply

    developerwiz
    Member

    Hello:
    I create new J2EE project, go through the wizard to add web module and EJB module.
    The resulting application.xml file does not have any modules defined…

    Please help!

    This seems to happen if I try to define an EAR file with both web module and EJB module.

    Here is an examle: as you can see it does not put modules in the project for some reason.

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <!DOCTYPE application PUBLIC “-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN” “http://java.sun.com/dtd/application_1_3.dtd”&gt;

    <application>
    <display-name>SiestaEAR</display-name>
    </application>

    I am getting a red “X” of course and the error message from Eclipse:
    Severity Description Resource In Folder Location Creation Time
    2 The content of element type “application” is incomplete, it must match “(icon?,display-name,description?,module+,security-role*)”. application.xml SiestaEAR/META-INF line 6 October 11, 2005 4:20:56 PM

    #239207 Reply

    Riyad Kalla
    Member

    I was unabel to reproduce this locally, have you tried right-clicking on the EAR project and going to MyEclipse > Add/Remove MOdules, are they listed there correctly? If not can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    #239237 Reply

    developerwiz
    Member

    Sorry, here is the requred information:
    I am using MyEclipse 4.0 Milestone 3 ( 3.9.310)

    Should I upgrade to latest version before anything else?

    Yes, I did try to use MyEclipse->Add Module, it has the same behaviour.

    Thanks
    Gennadiy

    #239250 Reply

    developerwiz
    Member

    Ok, I upgraded to the latest version.
    No change, same problem.
    Here is the info, please help

    Thanks
    Gennadiy
    *** Date: Wed Oct 12 13:12:15 EDT 2005

    *** System properties:
    OS=Windows2000
    OS version=5.0
    Java version=1.4.2_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.2 GA
    Build id: 20051010-4.0.2-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    E:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    9c_3c
    -clean
    -vm
    C:\WINNT\system32\javaw.exe

    #239253 Reply

    Riyad Kalla
    Member

    Should I upgrade to latest version before anything else?

    Ahh, yes you shoudl. Please note that you cannot use the update manager, you must download MyEclipse 4.0.2 from the site and install it against your Eclipse 3.1 GA install. Be sure to remove your current install before continuing.

    Also, this is important, after installing MyEclipse 4.0.2, edit the shortcut you use to start MyEclipse and add -clean to it and then start it up.

    #239255 Reply

    Riyad Kalla
    Member

    Try a new Workspace: File > Switch Workspace > C:\testworkspace, hit OK. Now create a new Enterprise Project with EJB and Web modules, did that work?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: EAR project – wizard does not create modules in application.

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