Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
larryflood
Post subject: enterprise project modules list is empty.  PostPosted: Nov 21, 2009 - 12:14 AM
Registered Member
Registered Member


Joined: Oct 03, 2008
Posts: 19

I recently reinstalled MyEclipse 7.5 because some MyEclipse library jar files were removed my TFS using Teamprise. Now the enterprise project application modules are empty and when I try to add one the "New Application Module" window doesn't show any available modules (ejb or web). How can I fix this? I've attempted the -clean option on startup to no avail. I'm running Vista.
Thanks
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: enterprise project modules list is empty.  PostPosted: Nov 23, 2009 - 04:25 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

larryflood,
Can you give some more information?
1. What are your installation details? You can get them from MyEclipse > Installation Summary > Installation Details.
2. Can you switch to a new workspace, create a new enterprise project and check if the issue persists?
3. Are there any errors logged in the log file located at workspace dir > .metadata > .log?

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
dongkun
Post subject: RE: enterprise project modules list is empty.  PostPosted: Mar 03, 2010 - 07:23 PM



Joined: Feb 27, 2010
Posts: 5

I have this same issue with MyEclipse 8 when I try to reuse the workspace that was created by version 6.0.1. If I try on a new workspace, and create a new EAR project, EJB project, and Web project, I am able to see the EJB and Web modules in the New Application Module dialog. Is there a way to fix my 6.0.1 workspace to work with 8? I want to avoid having to setup Preferences, recreate projects, etc. if that can be avoided.

My install summary is as follows:

*** Date:
Wednesday, March 3, 2010 10:28:26 AM PST

** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.0
Build id: 8.0-20091120


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 8.0
Build id: 8.0-20091120






Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 8.x Latest\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Program Files/Genuitec/MyEclipse 8.x Latest
-data
C:\devtools\AccuRev\lightspeed\R10.1-Res-Rewrite-Int
-launcher
C:\Program Files\Genuitec\MyEclipse 8.x Latest\myeclipse.exe
-install
C:/Program Files/Genuitec/MyEclipse 8.x Latest
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

Thanks!
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
dongkun
Post subject: RE: enterprise project modules list is empty.  PostPosted: Mar 05, 2010 - 10:11 PM



Joined: Feb 27, 2010
Posts: 5

I found a work around for this. I renamed my EAR project, and just created a new EAR project with the same name, copying over existing files from the old project except for .mymetadata, .project, and application.xml. I was then able to see all of the modules to add to the deployment.

What is it about the old EAR project that is blocking the modules dialog from working properly?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-shalini
Post subject: RE: enterprise project modules list is empty.  PostPosted: Mar 08, 2010 - 05:14 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

dongkun,
Thank you for the workaround.

Can you clarify if the previous EAR project was developed using J2EE1.3/J2EE1.4?
when adding modules to an existing EAR project, the modules that can be added should have JDK compliance level that is compatible with that of the EAR project. For example, if the EAR project is created with J2EE5, modules created with J2EE1.3/J2EE1.4/ Java EE5 can be added.
Let me know if that helps.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
dongkun
Post subject: RE: enterprise project modules list is empty.  PostPosted: Mar 08, 2010 - 07:05 PM



Joined: Feb 27, 2010
Posts: 5

Looks like the previous EAR was set at J2EE 1.3, while the modules were at J2EE 1.4. That would explain it.

Is there a way to switch the EAR to a different spec from which it was created?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-shalini
Post subject: RE: enterprise project modules list is empty.  PostPosted: Mar 09, 2010 - 04:34 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

dongkun,
You can try changing j2ee-spec to "1.4" for the EAR projects .mymetadata

<enterprise-project
version="1.0.0"
name="EAR13"
id="myeclipse.1268108732755"
j2ee-spec="1.4"
archive="EAR13.ear">

Let me know if that helps

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
dongkun
Post subject: RE: enterprise project modules list is empty.  PostPosted: Mar 14, 2010 - 08:08 AM



Joined: Feb 27, 2010
Posts: 5

Thanks Shalini. A colleague had pointed me to that file as well. However, just updating it didn't work for me. I think I have to also update the DTDs being included in the application.xml. In any case, I did not try this as it is just simpler to create a new EAR project, and copy over the needed files. Then the .mymetadata and application.xml all have the correct settings. This issue is now closed for me. Thanks for all your responses as they helped me discover the issue and work around.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-shalini
Post subject: RE: enterprise project modules list is empty.  PostPosted: Mar 17, 2010 - 05:24 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

dongkun,
Good to know that you are all set.
Do let us know if you have any issues.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits