I think the failures are caused by slight differences in the version of junit 
used. Do you know
which version of junit you installed?

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 20, 2004 4:23 AM
> To: Howard M. Lewis Ship
> Subject: Re: Stuck w/hivemind, please help :-)
> 
> 
> Thanks for the quick reply, this really helped!
> 
> This is, what I did to compile hivemind-cvs:
> 
> Eclipse 3.0, Java 1.4.2, MacOSX 10.3.4, Ant 1.6.2 (everything 
> current  
> release)
> Grabbed hivemind via eclipse
> had to install junit and antgrab into ant-lib
> run ant, afterwards eclipse was still complaining about missing libs  
> (e.g. geronimo)
> copied those manually, eclipse now likes the project (except 
> for a ton  
> of warnings)
> run ant:
> 
>      [junit] Test hivemind.test.ant.TestConstructRegistry FAILED
>      [junit] Test hivemind.test.rules.TestNumericTranslators FAILED
>      [junit] Test hivemind.test.sdl.TestSDLResourceParser FAILED
>      [junit] Test hivemind.test.services.TestMethodSignature FAILED
> 
> attached is the full log of the ant run.
> 
> So, I am still running on beta-1, your hint is working very nicely,  
> *but*:
> 
>      implementation (service-id=Repository) {
>          invoke-factory (service-id=com.plaengine.MockFactory)
>          interceptor (service-id=hivemind.LoggingInterceptor)
>      }
> 
> will produce:
> 
> DEBUG (main) foo.Repository - Applying interceptor factory  
> hivemind.LoggingInterceptor
> Exception in thread "main"  
> org.apache.hivemind.ApplicationRuntimeException: Unable to construct  
> service foo.Repository: Unable to lookup $Proxy0: $Proxy0
>       at  
> org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
> .construct 
> NewServiceImplementation(AbstractServiceModelImpl.java:156)
>       at  
> org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
> .construct 
> ServiceImplementation(AbstractServiceModelImpl.java:130)
>       at  
> org.apache.hivemind.impl.servicemodel.SingletonServiceModel.ge
> tActualSer 
> viceImplementation(SingletonServiceModel.java:69)
>       at 
> $InnerProxy_fddb99d2b5_3._service($InnerProxy_fddb99d2b5_3.java)
>       at  
> $InnerProxy_fddb99d2b5_3.deleteAllCached($InnerProxy_fddb99d2b
> 5_3.java)
>       at  
> $SingletonProxy_fddb99d27b_2.deleteAllCached($SingletonProxy_f
> ddb99d27b_ 
> 2.java)
>       at testing.HiveTest.main(HiveTest.java:45)
> 
> without the interceptor, everything is fine. I file that as a bug,  
> right?
> 
> 
> Many thanks for all your help and such a nice tool!
> 
> )-(agen
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to