narendrabtechcse / robotframework-javatools

Automatically exported from code.google.com/p/robotframework-javatools
1 stars 0 forks source link

RemoteApplications does not work with Jython 2.5.1 unless RemoteApplications$py.class file is removed #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In case Jython 2.5.1 is used, importing library fails with message

Test Library 'RemoteApplications$py' expected 1 argument, got 0.

Problem comes from fact that __file__ contains path to the .py file at
first run and to the $py.class file at the following executions with Jython
2.5.1. With Jython 2.2 the __file__ contains always .py file.

Fixed in r862.

Original issue reported on code.google.com by jpran...@gmail.com on 18 Feb 2010 at 10:19