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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Running CSS-4.5 from Eclipse Neon |
From: | Amien Crombie <[email protected]> |
To: | "Kasemir, Kay" <[email protected]>, EPICS Tech-Talk <[email protected]> |
Date: | Wed, 30 Aug 2017 18:28:41 +0200 |
Hi Kay I'm using your help in
<<https://github.com/kasemir/org.csstudio.display.builder>>
as a guideline in installing CSS inside Eclipse. Yes, I'm trying to get CSS inside Eclipse (have installed
Neon 4.6) Then added
Installed CSS Core ok but struggling to get the 'others' working...It goes into a install loop about 60% of the downloads and then get stuck. In Eclipse-Neon I see the CSS in my preferences with all the settings one can use.. Regards Amien On 29/08/2017 19:09, Kasemir, Kay
wrote:
Hi:I'm giving a small intro into my new CSS app to other CSS users this Friday. All of them are still using BOY/Opi with mostly Jython scripting. As my knowledge on Java is not great, I need to some advise on the following (if you have time):The 'Builder' can convert most OPI files but the underlying scripts must be changed to the new 'Display' java classes.Right. As much as possible and coding time allows, it reads existing displays, at least to the extend that I absolutely need this for operation of SNS beam lines where we have existing *.opi files. What doesn't convert: Scripts: They were always reserved for special cases, to do things that were impossible with EDM, MEDM, ... If you have to ask how to do a script, you probably shouldn't use them. If you still wanted to use them, you can now rewrite them.Is there indication that other CSS users are also moving to the Builder ?You'd have to ask them. ESS has been contributing to the display builder, they intend to use it. FRIB is interested. Those that have many *.opi files will certainly need some time to update, that's OK. But starting a new project with BOY now, and continuing to add code to BOY at this time is a very bad idea: The BOY code entangles model, runtime and display. It's 99% on the UI thread and tightly depends on SWT, which in turn is dead.Any way to add a genuine debugger in the newer CSS ? (or is this already possible?)Not sure what you mean. You can attach jvisualvm to the running instance to monitor CPU, memory, .. You can start CSS from within Eclipse in debug mode and then single-step through everything. Thanks, Kay |