JRuby & Java-annotated classes

I’ve searched quite a bit for an answer to this, which usually tells me
I’m
asking a stupid question. With that being said, here goes:

I am piloting a project using JRuby/Cucumber to test a Spring/Hibernate
application. The existing application makes heavy use of annotation
configuration. While I can load up Spring/Hibernate environments in
JRuby
with explicit resource mappings & bean definitions, it is not working
with
an annotation-based configuration. All the annotation processing is
done by
the imported spring classes, so I don’t see why it wouldn’t work?

Most of the conversation I see revolves around annotating JRuby classes,
but
not problems with annotated java classes being included in JRuby.
Fundamentally, I don’t understand why this doesn’t work. I’ll spare the
code here, as I’m not sure it’s relevant; I’m more interested in
understanding if/why I’m barking up the wrong tree.

Thanks in advance.

View this message in context:
http://old.nabble.com/JRuby---Java-annotated-classes-tp31650362p31650362.html
Sent from the JRuby - User mailing list archive at Nabble.com.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs