Experimental Physics and Industrial Control System
|
Hi,
we have a quite 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 when building the product to
have that jar-file included in the list
when Jython loads?
Thanks,
Hovanes Egiyan.
- Replies:
- PVManager Re: importing "org.csstudio.utility.pv" in BOY Jython scripts Kasemir, Kay
- Navigate by Date:
- Prev:
RE: Streamdevice 2.6 autoconnection failure using drvAsynSerialPort Mazanec Tomáš
- Next:
PVManager Re: importing "org.csstudio.utility.pv" in BOY Jython scripts Kasemir, Kay
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Problem with UInt32Digital in Asyn Wilkins, Stuart
- Next:
PVManager Re: importing "org.csstudio.utility.pv" in BOY Jython scripts Kasemir, Kay
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|