Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Obsolete
Assignee
Dmitry Avdeev
Subsystem
J2EE.Spring
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Henri Karapuu
    4 years ago (11 Jul 2007 19:10)
  • Updated by   Dmitry Avdeev
    12 months ago (14 Jan 2011 15:22)
  • Jira: IDEADEV-18981
    (history, comments)
 
IDEA-39721 Beans defined in dynamic languages not recognized
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
For example, if i define a bean like this
    <lang:jruby id="numberService"
     refresh-check-delay="1000"
     script-interfaces="swftest.gwt.client.NumberService"
     script-source="classpath:NumberService.rb">
    </lang:jruby>
Then IDEA does not understand at all that this is in fact a bean definition and will show errors.
Comments (3)
 
History
 
Linked Issues (?)
 
Eugene Vigdorchik
  Eugene Vigdorchik
11 Jul 2007 19:21
4 years ago
AFAIU this is not a Spring bug, but rather a lack of JRuby support in terms of Java and Ruby interaction.
Henri Karapuu
  Henri Karapuu
11 Jul 2007 21:49
4 years ago
Eugene, i'm not sure if i understand what you mean.

Let me clarify the original issue.

The bean definition as sited (<lang:jruby...) is valid in Spring 2.x and it works perfectly, only problem is that IDEA does not "see" this definition as a bean, which causes all references to that bean to be shown as errors, code completion not working etc.

So, the only thing that is needed is to just treat tags
<lang:jruby>
<lang:groovy>
<lang:bsh>
in the same way as <bean> is treated, sort of an "alias".

It should be also noted that inside <lang:*> tags the properties are of form <lang:property>, instead of the plain <property>, which might cause some further issues.
Dmitry Avdeev
  Dmitry Avdeev
14 Jan 2011 15:22
12 months ago
lang: namesapace is already supported
Related Changes
Resolved Date
12 months ago (14 Jan 2011 15:22)
State
OpenObsolete
Assignee
Dmitry Avdeev (davdeev)Dmitry Avdeev
Subsystem
<lost change>J2EE.Spring