Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jonagy
Post subject: add J2EE librarys to a existing project  PostPosted: Jul 13, 2007 - 08:59 AM
Registered Member
Registered Member


Joined: Jul 13, 2007
Posts: 4

if im trying to add the J2EE libs to one existing java project im getting one error.

the steps are:
Properties/Java build Path/Libraries/Add Library/Myeclipse/
if im trying to select the J2EE1.3 or 1.4 libs im getting the errormessage:
"Error occured see errorlog for more details..."

where is the errorlog ?
what causing this error ?


ty jozsi

eclipse:
Version: 3.2.2
Build id: M20070212-1330

MyEclipse Web Development Tooling
Version: 5.5.1
Build id: 20070521-5.5.1-GA
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: add J2EE librarys to a existing project  PostPosted: Jul 13, 2007 - 10:49 AM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8013

Hi Jozsi,
This is a known issue with MyEclipse 5.5.1. Im sorry you ran into it. This will be fixed in the MyEclipse 6.0 release.

ps - The error logs can be found <workspace>/.metadata/.log

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
zartc
Post subject: Re: RE: add J2EE librarys to a existing project  PostPosted: Jul 13, 2007 - 02:29 PM



Joined: Feb 03, 2005
Posts: 10

support-nipun wrote:
Hi Jozsi,
This is a known issue with MyEclipse 5.5.1. Im sorry you ran into it. This will be fixed in the MyEclipse 6.0 release.

ps - The error logs can be found <workspace>/.metadata/.log


Same problem here.
!ENTRY org.eclipse.jface 4 2 2007-07-13 14:56:22.350
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.core.librarymgmt.ModuleManager.getRequiredModules(ModuleManager.java:93)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage.selectDependentLibrariesIfNeeded(MELibraryWizardPage.java:207)
...


I'm in the early days of porting an existing Eclipse project under MyEclipse, in an attempt to demonstrate the gain in ease of development and productivity that we can expect.

This bug is a complete show stopper for us: If we can not add a library as an afterthought or if we can’t reinstall a library after having wrongly removed it then productivity is likely to drop to zero.

Either we can entrust MyEclipse on such a fundamental task as adding and removing libraries as often as necessary, or we can't and the game is over.

We do not expect to switch to MyEclipse 6.0 for as long as there is still a part of the development team locked with Eclipse 3.2.2

What is the workaround, or the quick-fix, for the time beeing ?

ZartC
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: add J2EE librarys to a existing project  PostPosted: Jul 17, 2007 - 07:24 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8013

This would be fixed in MyEclipse 6.0M2.

The workaround for this issue in 5.5 is to create a new User Library named J2EEE 1.4 and add the jars from "<MyEclipse installation directory> \ myeclipse \ eclipse \ plugins \ com.genuitec.eclipse.j2eedt.core_5.5.0 \ data \ libraryset \ 1.4" to this library and then add this User Library to the project.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
tmurray50
Post subject: RE: Re: RE: add J2EE librarys to a existing project  PostPosted: Aug 15, 2007 - 04:26 PM
Registered Member
Registered Member


Joined: Sep 21, 2005
Posts: 15

I am also in need of the workaround for this issue. I guess I can create a new WebApp using J2EE 1.4 and copy all of my code, but that seems very work intensive. Please give us another way.

Thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
tmurray50
Post subject: Re: RE: Re: RE: add J2EE librarys to a existing project  PostPosted: Aug 15, 2007 - 04:34 PM
Registered Member
Registered Member


Joined: Sep 21, 2005
Posts: 15

support-nipun wrote:
This would be fixed in MyEclipse 6.0M2.

The workaround for this issue in 5.5 is to create a new User Library named J2EEE 1.4 and add the jars from "<MyEclipse installation directory> \ myeclipse \ eclipse \ plugins \ com.genuitec.eclipse.j2eedt.core_5.5.0 \ data \ libraryset \ 1.4" to this library and then add this User Library to the project.


Sorry, I did not see this replay for some rason before I replied earlier. I now have a question on this workaround. I am a WSAD/RAD user primarily. So, how do I create a "Library" definition in MEIDE? Do I just generate another Java Project?

Thanks again.
 
 View user's profile Send private message  
Reply with quote Back to top
zartc
Post subject: Re: RE: Re: RE: add J2EE librarys to a existing project  PostPosted: Aug 15, 2007 - 06:33 PM



Joined: Feb 03, 2005
Posts: 10

tmurray50 wrote:
support-nipun wrote:
This would be fixed in MyEclipse 6.0M2.

The workaround for this issue in 5.5 is to create a new User Library named J2EEE 1.4 and add the jars from "<MyEclipse installation directory> \ myeclipse \ eclipse \ plugins \ com.genuitec.eclipse.j2eedt.core_5.5.0 \ data \ libraryset \ 1.4" to this library and then add this User Library to the project.


Sorry, I did not see this replay for some rason before I replied earlier. I now have a question on this workaround. I am a WSAD/RAD user primarily. So, how do I create a "Library" definition in MEIDE? Do I just generate another Java Project?

Thanks again.


No need to create a new project.
You need to create a new user libray
the steps are:
from window/Preferences...
select Java/Build Path/User Libraries
then click on the new... button,
name the new library "j2ee 1.4",
then use the "add jars..." button to add the jars from "<MyEclipse installation directory> \ myeclipse \ eclipse \ plugins \ com.genuitec.eclipse.j2eedt.core_5.5.0 \ data \ libraryset \ 1.4" to this library. That's it.

To use it:
Remove the J2EE 1.4 library that ME add in your project and remplace it by your user library.

Hope this help.
ZC
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: Re: RE: add J2EE librarys to a existing project  PostPosted: Aug 15, 2007 - 09:50 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8013

Thanks for the post ZC.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits