Re: Importing the root project into eclipse

2005-01-11 Thread Nadeem Bitar


On Mon, 2005-01-10 at 14:33 -0500, Hiram Chirino wrote:
 I thinks that is because eclipse does not support nesting projects.
 
Correct. Eclipse doesn't support nesting projects, so is there a way to
run the root maven build from inside eclipse when using mevenide? 


 Regards,
 Hiram
 
 mouli wrote:
 
 I don't think there is a root project.  m:eclipse
 creates separate projects for each modules etc.. and
 we need to import those into eclipse.
 
 Regards,
 Mouli
 --- Nadeem Bitar [EMAIL PROTECTED] wrote:
 
   
 
 Hi,
 
 I have been trying to setup geronimo inside eclipse
 and I am unable to
 figure out how to import the root project into
 eclipse. 
 
 I checked out the geronimo project, ran maven
 eclipse, used the
 projecttransfer plugin[1] to import all modules into
 eclipse, but my
 root directory (geronimo) is still outside eclipse.
 
 Is that the intended behavior?
 
 Thanks,
 
 Nadeem
 
 
 
 
 [1]http://eclipse-tools.sourceforge.net/projecttransfer/
   
 
 
 
 
 
  
 __ 
 Do you Yahoo!? 
 Take Yahoo! Mail with you! Get it on your mobile phone. 
 http://mobile.yahoo.com/maildemo 
 
   
 
 
 



Re: Build Failure - org/apache/geronimo/deployment/service/GBeanAdapter

2005-01-11 Thread anita kulshreshtha
Dain,
  Thanks.
--- Dain Sundstrom [EMAIL PROTECTED] wrote:

 On Jan 10, 2005, at 5:11 AM, anita kulshreshtha
 wrote:
 
 Let me rephrase this question. Is
 getDeclaredMethod
  supposed to behave like this? Why is it trying to
 find
  GBeanAdaptor class. Shouldn't it give
  NoSuchMethodException? In that case the build will
  fail gracefully indicating that it is time to
 build
  openejb! I hope my question is not out of scope of
  Geronimo.
 
 Yes this is expected. Normally when a class, is
 loaded in Java it is 
 not fully resolved.  This means that the byte code
 was loaded and 
 verified, but not all classes the loaded class
 depends on were loaded.  
 This is an optimization by the VM engineers to even
 out load time of an 
 application.  When you call getDeclatedMethod, the
 class is fully 
 resolved, which mean that all dependency classes are
 loaded and this 
 can cause a NoClassDefFoundError.
 
 In this case this is caused by an inconsistent build
 which is a very 
 abnormal case, so IMO not beneficial to add such a
 check to the code as 
 it complicates the code.  If this could happen in an
 official release 
 (even if it were rare), I would support adding a
 check.

I agree it is not likely to happen in an official
release. 

Thanks
Anita
 
 -dain
 
 




__ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com