| Author |
Message |
|
|
Post subject: EAR project - wizard does not create modules in application.
Posted: Oct 11, 2005 - 10:13 PM
|
|
Veteran Member


Joined: Mar 09, 2004
Posts: 3
|
|
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">
<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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 12, 2005 - 03:04 AM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
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 Posting Guidelines 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. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 12, 2005 - 04:49 PM
|
|
Veteran Member


Joined: Mar 09, 2004
Posts: 3
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 12, 2005 - 06:14 PM
|
|
Veteran Member


Joined: Mar 09, 2004
Posts: 3
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 12, 2005 - 06:17 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
| Quote: |
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. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 12, 2005 - 06:22 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
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? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|