importing "org.csstudio.utility.pv" in BOY Jython scripts

16 views
Skip to first unread message

Hovanes Egiyan

unread,
Apr 14, 2014, 10:27:38 AM4/14/14
to css...@googlegroups.com
Hi,

we have a quite a large number of BOY OPI-s that use Jython scripts. These Jython scripts
use  "org.csstudio.utility.pv", namely PVFactory,  so they contain the following line:

from org.csstudio.utility.pv import PVFactory

Until now we have been using basic EPICS CSS 3.1.7 build from SNS , and now we would
like to use the recent version 3.2.16. But what happens now with that version is that Jython fails
to find the "org.csstudio.utility.pv" on the line shown above. That plugin is incuded in the plugin
directory, and when I explicitly append the jar-file  to the sys.path, then the scripts work.
At this time I do not want to go into each script file and add a line to append the jar
file. Instead, I was wandering if I can recompile EPICS CSS from SNS source in such a way that I do
not need to specify the "org.csstudio.utility.pv" path myself in the scripts. Just getting the source for 3.2.26
and making the "org.csstudio.basic.epics.product" produces the same result. Is there something
simple that I need to change in Eclipse to have that jar-file included in the list when Jython loads?

Thanks,
   Hovanes Egiyan.
Reply all
Reply to author
Forward
0 new messages