Problem with Java imports in jython and IDEA python plugin

Hello,

when I import java classes in jython using the python plugin of IDEA (version 4, build 139.129 of the plugin), then I got an error when the package name contains an "as" like in the line

from org.jboss.as.cli import CommandLineException

The word "as" is marked as error with the hint "Identifier expected", and dont get this as package name. I have to import all jars I want to use in the classpath of the Java SDK, or else the plugin cant resolv any of them.

Is there some way to go around the misinterpreted "as" package?

        Thanks,
        Gregor

Please sign in to leave a comment.